help experienced seniors!!!!IP aliasing
i have these commands to create an alias of my eth0..
Code:
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 up
/sbin/ifconfig eth0 172.16.3.1
/sbin/ifconfig eth0:0 172.16.3.10
but when i type this command..
Code:
/sbin/route add -net 127.0.0.0
i got this ERROR message..
Code:
SIOCADDRT: Inavalid Argument
these should be the later command..
Code:
/sbin/route add -net 172.16.3.0 dev eth0
/sbin/route add -host 172.16.3.1 dev eth0
/sbin/route add -host 172.16.3.10 dev eth0:0
/sbin/route add default gw 172.16.3.200
some site says that i should enabled the IP Aliasing and compile my kernel but the problem is that i dont know what file to be edit??
..i'm using Slackware Version 10.1..
..Help me please guyz..
edited by moderator...added code tags for ease of reading
Re: help experienced seniors!!!!IP aliasing
Quote:
Originally Posted by sardonyx
Code:
/sbin/route add -net 127.0.0.0
i got this ERROR message..
Code:
SIOCADDRT: Inavalid Argument
shouldnt that be 127.0.0.1 ?? ( 1 instead of 0 ) ..
help experienced seniors!!!!IP aliasing
..still i recieve the same error message..
..what else should i do??
..do i have to enable something or should i compile my kernel??