On 08/21/2018 04:04 PM, Samuel Sieb wrote:
On 08/21/2018 04:02 PM, Rick Stevens wrote:
> Can you ping anything on the 192.168.11/0 network? I don't think you
> have a route for the 192.168.11.0/24 network. While you added an alias
> to your NIC (enp2s0:0) and an IP address for that alias (192.168.11.1),
> you have not added a route for that network so it's using your default
> route (which goes out 192.168.1.1). You'd need to add a route via:
A route is automatically added for the subnet when you add the address.
Ah, that I didn't know. I'm not used to using "ip addr add" that much.
Just tested it and yes, it creates a route if you do specify a CIDR
less than /32 (in IPV4 parlance at least).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- Memory is the second thing to go, but I can't remember the first! -
----------------------------------------------------------------------