hanes Posted September 13, 2005 Report Share Posted September 13, 2005 Im switching an old server from redhat 7 or so to mandriva 2005... Its funny how faster Mdk 2005 is on the same box! Anyway I have a quick question... my server is set up as a static ip, and i have 3 routes to enter (each with a different subnet and gateway) the MCC doesnt let me do this? is there an alternate method? i dont know the text way because the old red hat server just had it under "network settings" Quote Link to comment Share on other sites More sharing options...
coverup Posted September 14, 2005 Report Share Posted September 14, 2005 All GUI config tools run scripts behind the scenes. In this case, you need to use the command route. Read it's manual by typing man route as root. A quick example of adding a default gateway: route add default gw 192.168.0.1 dev eth1 Now, are trying to setup three ethernet interfaces, or do you wish one interface to listen to three subnets? The first case is easy, you just configure three independednt interfaces using Mandriva Control Centre. The second option is easy too, you need to setup IP aliasing, have a look at this mini-HOWTO: http://www.faqs.org/docs/Linux-mini/IP-Alias.html Quote Link to comment Share on other sites More sharing options...
hanes Posted September 19, 2005 Author Report Share Posted September 19, 2005 Thanks it worked. Now the only problem is every time i use a wizard it erases the routes... oh well, I made a script file to set em back... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.