SCIENTIFIC-LINUX-USERS Archives

December 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Wed, 4 Dec 2013 11:41:22 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
Hi All,

SL 6.5, 64 bit.

I had to manually configure a Tread Net TEW-638PAP as a wireless
bridge yesterday.  In the process, I had to change my default
router (a.k.a. gateway) three times.  (Networking too, but
that worked.) The TEW-638PAP was hooked to my second
Ethernet port (eth1).

Problem, I had to reboot to get the new default route to
stick.

Now I know of two places I can put my default router:

    /etc/sysconfig/network     <--- where I put it
    GATEWAY=192.168.10.100   and

    /etc/sysconfig/network-scripts/ifcfg-eth1
    GATEWAY=192.168.10.100

I am using /etc/sysconfig/network and the "vi" method.

To check my default router setting, I used "netstat -rn"
and looked for the tags "UG".  (It is at the bottom of
the list.)

To try to get the new default router setting to take,
I used:

     service network restart; netstat -rn
and
     ifdown eth1; ifup eth1; netstat -rn

No joy with either method.  Whatever gateway I had when
I booted, was the one I was stuck with.  Reboot
was the only way to make the change.  I even tried
manually configuring it with "route".  No joy there
either.  :'(

What did I do wrong?

Many thanks,
-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ATOM RSS1 RSS2