Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

suse /etc/route.conf problem



(PROLOG: Sorry, Jerry, I set up a new instance of Netscape and messed up
the address.  Fixed.  Also, I had to type the route add default... line
on thinker, not my server, so I'm pretty sure the problem lies in the
laptop, not my server.)

I just loaded suse on a laptop with a PCMCIA ethernet card (eth0)
(thinker.kramer.ne.mediaone.net 192.168.1.4).  It is connected behind my
RHL5.2 firewall (kramer.ne.mediaone.net internal NIC:192.168.1.1).  I
can't seem to see the outside world from thinker (it says somethjing
like "no route to host" when I ping), unless I type "route add
default gw 192.168.1.1" on my laptop.   Then everything works.

I'm trying to figure out how to get the equivalent of this command into
my
/etc/route.conf.  What I have now looks right to me and appears to match
the book, but it doesn't work.  My /etc/route.conf/ looks like this:

127.0.0.0       0.0.0.0         255.255.255.0           lo
192.168.1.0     0.0.0.0         255.255.255.0           eth0
default         192.168.1.1     255.255.255.255         eth0

Before I type "route add default gw 192.168.1.1" route outputs
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface default         kramer.ne.media 255.255.255.255 UGH   0     
0       0 eth0 
thinker.kramer. *               255.255.255.255 UH    1      0        0
dummy0 
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0 
loopback        *               255.0.0.0       U     0      0        0
lo

After I type "route add default gw 192.168.1.1" route outputs
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface default         kramer.ne.media 255.255.255.255 UGH   0     
0       0 eth0 
thinker.kramer. *               255.255.255.255 UH    1      0        0
dummy0 
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0 
loopback        *               255.0.0.0       U     0      0        0
lo 
default         kramer.ne.media 0.0.0.0         UG    0      0        0
eth0


I also tried changing the last line of route.conf to 
default         192.168.1.1 
and that didn't work either.

Thanks in advance for any help you can offer.
-- 
-------------------------------------------------------------------
DDDD   David Kramer                    david at kramer.ne.mediaone.net
DK KD                                  http://start.at/david.kramer
DKK D  
DK KD  It is appallingly obvious that our technology 
DDDD   exceeds our humanity.                        Albert Einstein
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org