I've got a machine with the IP 10.33.33.42. I can ssh to it just fine from the LAN, or from the VPN (Using openvpn, the subnet for it is 10.33.34.0/24)
The routes to the VPN are provided by the default gateway. It all works great.
I just added an alias with this command
ifconfig eth0:0 10.33.33.199 up
When I do that, I can still ssh to the machine from the LAN (on either IP, 42 or 199), however connectivity via the VPN is no longer available.
Thoughts?
(yes, I checked that 199 was not being used :) )
[SOLVED] I add an IP alias and loose connectivity.
-
- Posts: 2
- Joined: 2011/09/14 15:38:47
-
- Posts: 2
- Joined: 2011/09/14 15:38:47
Re: I add an IP alias and loose connectivity.
I answered my own question with more scrutiny of ifconfig -a
I was not supplying the correct netmask/broadcast on the command line. (not any at all actually)
I was not supplying the correct netmask/broadcast on the command line. (not any at all actually)
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] I add an IP alias and loose connectivity.
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Thanks for reporting back with your self-solution. Marking this thread [SOLVED] for posterity.
If your connectivity is [i]loose[/i] you may easily [i]lose[/i] it. :-)
Thanks for reporting back with your self-solution. Marking this thread [SOLVED] for posterity.
If your connectivity is [i]loose[/i] you may easily [i]lose[/i] it. :-)