Re: [gentoo-user] iproute2 reference

2018-07-29 Thread Peter Humphrey
On Sunday, 29 July 2018 12:17:39 BST Andrew Savchenko wrote: > On Sun, 10 Jun 2018 14:15:03 +0100 Peter Humphrey 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. > > > > Can anyone recommend

Re: [gentoo-user] iproute2 reference

2018-07-29 Thread Andrew Savchenko
On Sun, 10 Jun 2018 14:15:03 +0100 Peter Humphrey 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. > > Can anyone recommend suitable reading material? I don't mind paying for a > book, provided

Re: [gentoo-user] iproute2 reference

2018-06-11 Thread Peter Humphrey
On Sunday, 10 June 2018 17:58:35 BST Grant Taylor wrote: --->8 much detail that makes me feel a bit faint... > IMHO the biggest issue is that you have to understand what you want to do > and then translate it to the proper ip commands to do it. You need that > high level blueprint (if you will)

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Grant Taylor
On 06/10/2018 01:13 PM, Grant Taylor wrote: I'll respond later with more details as to what I do to run various things in Network Namespaces. I create the following directories ("mkdir -p" type thing): - /run/mountns/$NSname - /run/netns/$NSname - /utsns/$NSname First I create the Namespac

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Grant Taylor
On 06/10/2018 12:22 PM, Andrew Udvare wrote: Is it possible to have a VPN clent set up in one of these namespaces and route certain traffic through it from the main stack? I see no reason why it couldn't. It may be entertaining to start and stop the VPN client. I'll respond later with more de

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Andrew Udvare
On 06/10/2018 12:58 PM, Grant Taylor wrote: > It helps if I actually add the foot note. > > On 06/10/2018 10:38 AM, Grant Taylor wrote: >> I will say that you'll likely need other systems [1] to test things >> like tunnels to / between. > > [1] You can easily have one machine be multiple systems

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Grant Taylor
It helps if I actually add the foot note. On 06/10/2018 10:38 AM, Grant Taylor wrote: I will say that you'll likely need other systems [1] to test things like tunnels to / between. [1] You can easily have one machine be multiple systems via Network Namespaces. I routinely use Network Namesp

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Grant Taylor
On 06/10/2018 07:15 AM, Peter Humphrey wrote: Hello list, Hi, I'm trying to learn how to use the "ip" command to manage routing on one of my boxes, which has two Ethernet interfaces. Cool. There's a LOT that you can do. I will say that you'll likely need other systems [1] to test things l

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Peter Humphrey
On Sunday, 10 June 2018 16:52:48 BST Mick wrote: > On Sunday, 10 June 2018 16:22:18 BST Andrew Udvare wrote: > > > On 2018-06-10, at 09:15, Peter Humphrey wrote: --->8 > To thumb through the man pages you need to extend man ip with the OBJECT. > Same applies with --help pages. > > For example, to

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Mick
On Sunday, 10 June 2018 16:22:18 BST Andrew Udvare wrote: > > On 2018-06-10, at 09:15, Peter Humphrey 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

Re: [gentoo-user] iproute2 reference

2018-06-10 Thread Andrew Udvare
> On 2018-06-10, at 09:15, Peter Humphrey 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 th