On Sunday, 10 June 2018 16:22:18 BST Andrew Udvare wrote: > > On 2018-06-10, at 09:15, Peter Humphrey <pe...@prh.myzen.co.uk> wrote: > > > > Hello list, > > > > I'm trying to learn how to use the "ip" command to manage routing on one > > of my boxes, which has two Ethernet interfaces. > > If you're using systemd, you can set it up with systemd.network in > /etc/systemd/network. I do this on my router. However I was unable to get > my IPv6 6rd tunnel working this way. For IPv4 DHCP or static it works fine. > > https://www.freedesktop.org/software/systemd/man/systemd.network.html > https://wiki.archlinux.org/index.php/Systemd-networkd#Configuration_examples > > Can anyone recommend suitable reading material? I don't mind paying for a > > book, provided that it's reasonably up to date and won't bury me in a > > morass of bit patterns, OSI transport layers and so on. Just the stuff > > that a network admin would need. > > man ip (relatively minimal, but not as minimal as ip --help) > > https://www.cyberciti.biz/faq/linux-ip-command-examples-usage-syntax/ is in > my bookmarks > > https://access.redhat.com/sites/default/files/attachments/rh_ip_command_chea > tsheet_1214_jcs_print.pdf > > bash-completion comes with ip command support. > > My script to set up my IPv6 6rd tunnel on my router: > > ip tunnel del sit-6rd > ip tunnel add sit-6rd mode sit local "$IPV4_ADDR" ttl 64 dev enp1s0f0 > ip tunnel 6rd dev sit-6rd 6rd-prefix 2602::/24 > > ip link set sit-6rd mtu 1480 > ip link set sit-6rd up > > ip -6 addr add "$IPV6_ADDR" dev sit-6rd > ip -6 route add 2000::/3 via "::$IPV4_BR_ADDR" > ip -6 route add default via "::$IPV4_BR_ADDR" > > Andrew
To thumb through the man pages you need to extend man ip with the OBJECT. Same applies with --help pages. For example, to read the help page of 'ip address': ip address help the corresponding man page is: man ip-address -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.