Prev: CentOS4.6; yum spontaneously broke (libxml2mod.so undef. symbol xmlNewDocPI)
Next: How to convert swf to AVCHD, 3GP, AVI, iPhone,iPod,Mpeg,etc?
From: MELBIN MATHEW on 26 Aug 2009 23:08 Hi, To make a static route using one of the interface (in our case gigabit interface), first we need to delete the present route and add the new route.Commands are follows, # route -n (this will show the present routing gateway) # route del default (this will delete the present route) # route add default gw ipaddressofthegigabit # route -n (Shows the route is configured to gigabit) Now all the traffic will route through the gigabit card. Cheers! Melbin Mathew www.talk2melbin.com On Aug 19, 12:14 am, The Derfer <derf...(a)gmail.com> wrote: > I have a (very) large amount of data to move through a Gigabit > connection > shortly. I want to use a newly-configured gigabit PCI-X card in a > Dell > server to accomplish this. The other interfaces are 100 Mbps. > > If I want to add a route (static route) to force outgoing packets > that > are destined for a particular host to use that interface (eth3 on this > host) > then how do I do that? System is RedHat Enterprise Linux 3AS. > I suspect this involved the "add route default" command or whatever > the syntax is -- I did it for Solaris years ago but don't remember > exactly how. > > $ Linux host1.localdomain 2.4.21-57.ELhugemem #1 SMP Fri Jun 13 > 00:09:04 EDT 2008 i686 i686 i386 GNU/Linux > > $ ifconfig eth3 > eth3 Link encap:Ethernet HWaddr 00:0A:5E:7A:E7:33 > inet addr:10.156.30.176 Bcast:10.156.30.255 Mask: > 255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:619971 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:44019924 (41.9 Mb) TX bytes:256 (256.0 b) > Interrupt:24 > > Thanks in advance. |