Subscribe Subscribe | Subscribe Comments RSS
Subscribe in Bloglines

Add to netvibes
Add to Google Reader or Homepage

If you know there is always going to be a permanent route for a destination then a static route can be a viable option.To add a persistent static route in Redhat Enterprise Linux create a file called route-<int>X in the /etc/sysconfig/network-scripts/ directory

Buy Coreg Without Prescription, where <int> is the interface number and X is the interface number. As you would expect, buying Coreg online over the counter, Where can i order Coreg without prescription, these are specified in seperate file for each of the available interface.

Example:

/etc/sysconfig/network-scripts/route-eth0
/etc/sysconfig/network-scripts/route-eth1

Every entry or a route has three entities as follows:

GATEWAY<N>=xxx.xxx.xxx.xxx
NETMASK<N>=yyy.yyy.yyy.yyy
ADDRESS<N>=zzz.zzz.zzz.zzz

As the names implies, they are the gateway IP, Coreg medication, Coreg in india, Netmask and the IP/Network Address

Note the <N> next to each of the three entities. This number defines the route entry number and should be the same on all the entities.

Example:

GATEWAY0=192.168.1.1
NETMASK0=255.255.255.0
ADDRESS0=10.10.10.0

GATEWAY1=192.168.1.1
NETMASK1=255.255.255.0
ADDRESS1=20.20.20.2

A sample file /etc/sysconfig/static-routes is available for your reference.

Once the file is created, Coreg tablets, Order Coreg online overnight delivery no prescription, restart the network service as follows:

# service network restart

To view the routes type

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.2.0     *               255.255.255.0   U     0      0        0 eth1
10.10.10.0      *               255.255.255.0   U     0      0        0 eth0
20.20.20.2      *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

or

# ip route show
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.1
192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.1
10.10.10.0/24 via 192.168.1.1 dev eth0
20.20.20.2/24 via 192.168.1.1 dev eth0
default via 192.168.1.1 dev eth0

To dynamically add a route, try the folowing:

Syntax:
# ip route add <Net/IP>/<Mask> via <Gateway> dev <Int>X

Example:

# ip route add 10.10.10.0/24 via 192.168.1.1 dev eth0

or

Syntax:

# route add [-net|-host] <IP/Net> netmask <Mask> gw <Gateway IP> dev <Int>X

Example:

# route add -net 10.10.10.0 netmask 255.255.255.0 gw 192.168.1.1 dev eth0

This should help.

, rx free Coreg. Ordering Coreg online. Buy Coreg online no prescription. Where can i find Coreg online. Saturday delivery Coreg. Coreg san diego. Order Coreg from mexican pharmacy. Coreg in usa. Coreg over the counter. Free Coreg samples. Online buy Coreg without a prescription. Coreg in us. Where can i buy Coreg online. Coreg in canada. Buy Coreg without prescription. Purchase Coreg. Buy Coreg online without prescription. Coreg for sale. Fast shipping Coreg. Next day Coreg. Coreg discount. Coreg buy. Where to buy Coreg. Delivered overnight Coreg. Sale Coreg. Purchase Coreg online no prescription. Coreg in australia. Cod online Coreg. Buy Coreg from canada. Coreg to buy. Coreg prescriptions. Coreg from international pharmacy. Coreg in usa. Coreg in canada. Buy Coreg without a prescription. Buy Coreg no prescription. Saturday delivery Coreg. Coreg price, coupon. Delivered overnight Coreg. Order Coreg online c.o.d. Coreg overseas. Buy Coreg without prescription. Order Coreg from mexican pharmacy. Coreg in india. Buy Coreg online without a prescription. Buy Coreg online cod. Purchase Coreg. Order Coreg no prescription. Where can i order Coreg without prescription. Coreg in uk. Coreg buy. Buy Coreg online no prescription. Buy no prescription Coreg online. Sale Coreg. Purchase Coreg online no prescription. Buying Coreg online over the counter. Where can i buy cheapest Coreg online. Buy generic Coreg. Buy cheap Coreg.

Similar posts: Buy Metoprolol Without Prescription. Buy FML online no prescription.
Trackbacks from: Buy Coreg Without Prescription. Buy Coreg Without Prescription. Buy Coreg Without Prescription. Buy Coreg Without Prescription. Buy Coreg Without Prescription. Buy Coreg Without Prescription. Buy Namenda Without Prescription. Buy Smok-OX Without Prescription. Buy Cialis Without Prescription. Buy Lumigan Without Prescription. Buy Phentermine Without Prescription. Buy Metoclopramide Without Prescription. Buy Tetracycline Without Prescription. Buy Inderal Without Prescription. Buy Buspar Without Prescription. Buy Nebivolol Without Prescription. Buy Asacol Without Prescription. Buy Reosto Without Prescription. Buy Lincomycin (Lincocin, Pfizer) Without Prescription. Buy Sinequan Without Prescription. Femara from international pharmacy.

11 Comments so far »

  1. by Steve Harper, on February 20 2008 @ 4:46 pm

     

    Apparently your syntax is also supported, but the latest search I did of the RHEL4 support documentation yields the following URL for persistent static routes and the syntax of the route-ethX file:

    http://kbase.redhat.com/faq/FAQ_45_9670.shtm

    The Redhat recommended syntax is:
    10.0.1.0/24 via 192.168.2.4 dev eth0
    or
    default via 192.168.2.4 dev eth0

  2. by sujit, on August 19 2008 @ 11:07 am

     

    how to add permant route in RHEL4 is any file in that i need to change any conf

  3. by sujit, on August 20 2008 @ 10:50 am

     

    how to start samba service in aix5.3

  4. by sri, on November 26 2008 @ 10:16 am

     

    I have one problem. I need add static route under /etc/sysconfig/network-scripts/route-eth0.2 and
    /etc/sysconfig/network-scripts/route-eth0.3.

    route-eth0.2
    GATEWAY0=192.168.1.1 ( this is vlan 2 ip address configured in router)
    NETMASK0=255.0.0.0
    ADDRESS0=10.0.0.0

    route-eth0.3
    GATEWAY0=192.168.2.1( this is vlan 3 ip address configured in router)
    NETMASK0=255.0.0.0
    ADDRESS0=10.0.0.0

    the problem is destination IP address is same. the different is gateway address. because, VLAN2(etho.2) and VLAN 3(eth0.3) are routed by different paths( i mean different layer-3 devices)

    once i add those and restart the network services, it shows only one route for that destination

    could you please help me to figure out the problem

  5. by echikoz, on January 5 2009 @ 9:43 am

     

    it worked for me by using the following command:
    route add [ipadd] netmask [mask] gw [gateway] interface name

  6. by Hitesh, on August 27 2009 @ 6:03 am

     

    Hii, Its work for me with route-dev file, Thanks man

  7. by Jose Tapia, on November 18 2009 @ 11:23 pm

     

    Hi, thanks a lot for your article is very helpful for me, thanks a lot man

  8. by shaftomite, on September 29 2010 @ 9:27 am

     

    freaking RHEL… what a pain.
    can just add a -p switch or something to the route add command like solaris does… no, you have to go in and edit some obscure file and add three stanzas

  9. by shaftomite, on September 29 2010 @ 9:31 am

     

    freaking RHEL… what a pain.
    can’t just add a -p switch or something to the route add command like solaris does… no, you have to go in and edit some obscure file and add three stanzas

  10. by Suhail, on November 4 2010 @ 2:52 am

     

    Gr8..It works!

  11. by Ricardo Geara, on January 5 2012 @ 6:14 am

     

    Thanks.

    It’s works very well on my Red Hat Linux Server release 5

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: