Results 11 to 16 of 16
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-26-2003 #11Just Joined!
- Join Date
- Feb 2003
- Posts
- 26
Code:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
- 02-26-2003 #12Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Ok looks like you don't have your gateway set. You can do that be either editing the file that contains your gateway variable and restarting network services or
doing that command.Code:route add default gw <gw> dev <dev>
- 02-26-2003 #13Just Joined!
- Join Date
- Feb 2003
- Posts
- 26
I type in: route add default gw 192.168.0.1 dev eth0 and it works fine. I am able to ping outside the network. But, after i log off and back on, I not able to ping outside the network. what file should I have to edit? I am running Redhat 7.1.
- 02-26-2003 #14Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
/etc/sysconfig/network
I am not sure on that but I think that is it.
- 02-26-2003 #15Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Yes, that's right.
You should add the line that sets the GATEWAY variable. If there is no such line, it should read "GATEWAY=192.168.0.1".
- 02-26-2003 #16Just Joined!
- Join Date
- Feb 2003
- Posts
- 26
Thanks works great. You said before if I type in hostname at the prompt, I get back Linux350. So i don't know why it takes so long for sendmail to start. Or how can i just delete it? Thanks.


Reply With Quote
