[SOLVED] I add an IP alias and loose connectivity.

Issues related to configuring your network
Post Reply
steelnwool
Posts: 2
Joined: 2011/09/14 15:38:47

[SOLVED] I add an IP alias and loose connectivity.

Post by steelnwool » 2011/09/14 15:51:43

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 :) )

steelnwool
Posts: 2
Joined: 2011/09/14 15:38:47

Re: I add an IP alias and loose connectivity.

Post by steelnwool » 2011/09/14 16:06:55

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)

pschaff
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.

Post by pschaff » 2011/09/22 15:20:55

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. :-)

Post Reply