CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

RE: IP Aliasing in linux


[Replies] [Reply] [View by Thread] [Help]
[Back To Operating System Issues]

Posted by Guest(Kaladis) On 2003-01-04 23:43:35
In Reply to IP Aliasing in linux Posted by LtKer mystique666 On 2003-01-04 07:05:59




On 2003-01-04 07:05:59, mystique666 wrote
>I have an interface (eth0) which i have set up with 2 ip addresses (eth0 and eth0:0). When I ping the outside world it sends from the eth0:0 address rather than the eth0 address (not what I want it to do). The default route and all other routes are set to use dev eth0 (except of course the ones that need to be eth1 and lo ;).

I haven't done much with aliasing under Linux before, but from what you said it sounds as if Linux always uses the first alias as default. Try using eth0:0 and eth0:1 instead of eth0 and eth0:0

- Kaladis


Replies:


Guest:
Subject:
Message:
Signature:
Optional Image Link:
http://

CyberArmy::Forum v0.6
Generated In 0.02598 seconds


About Us | Privacy Policy | Mission Statement | Help