Results 1 to 2 of 2
Hi!
I have next problem.
When I try to add a new route or delete a route to my Linux Server 2.4.21-20.EL i686 i386 GNU/Linux
I get next error
Code:
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-31-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 1
I'm not able to add new routes
Hi!
I have next problem.
When I try to add a new route or delete a route to my Linux Server 2.4.21-20.EL i686 i386 GNU/Linux
I get next error
SIOCADDRT: Invalid argumentCode:#route add -net 127.0.0.0
SIOCDELRT: Invalid argument[root@webdev root]# route del -net 169.254.0.0
What could be wrong?
Tanks.
- 04-01-2005 #2Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
Look at the man page for route -- your syntax isn't correct.
is the proper syntax to add a default gateway for your first NIC (as an example).Code:route add default gw 0.0.0.0 dev eth0
Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.


Reply With Quote
