When I type
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
I get
SIOCADDRT: Invalid argument
When I type
IPADDR=192.168.0.4
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
GATEWAY=192.168.0.4
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net
On 08-Mar-99 Oz Dror wrote:
When I type
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
I get
SIOCADDRT: Invalid argument
2.2.x (and later 2.1.x) kernels do not need route statements. Unless you have
to set a gateway that is non-obvious.
I assume you're running with a 2.2.x kernel? If so, you just need to
add netmask ???.???.???.??? to the route add -net command. The
2.0.x kernel series would supply it's own default value if none was
specifically given, but in 2.2.x that is no longer the case.
Also, the kernel will now
3 matches
Mail list logo