On Thu, 24 Oct 2002, Chris Carlen wrote:
I have installed Suse 8.1 on two machines that have been running 7.3. On my home machine on my home LAN, I didn't have much trouble getting it to add a default route using the LAN firewall/forwarder as a gateway.
But here at work, I can't get the thing on the net using the yast tool. I will show you my existing routing table on the machine that works:
Destination Gateway Genmask Flags Metric Ref Use Iface 134.252.41.0 * 255.255.255.0 U 0 0 0 eth0 default * 0.0.0.0 U 0 0 0 eth0
but on the 8.1 machine I only get the first line of the routing table, not the second line showing a default route. When I manually do:
#route add default eth0
then the 8.1 machine works fine. The DNS is set up Ok using yast, so once I do the manual route add, the machine is on the net.
I'm not sure I get the network configuration. You're using static IP, not
DHCP, right? You need to tell it which actual machine should get your
"outside world" packets, not just throw them onto eth0 and hope someone
will take responsibility. The residential gateway may do so, but that's
not how routing is supposed to work.
In yast2, select networking-advanced, and within that, routing. It asks
for a default gateway. Fill in the IP address of your egress router (at
home, your residential gateway) and everything will start working. You
want to see something like this:
jimc ~ 3.3> netstat -r -n
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
128.97.4.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
0.0.0.0 128.97.4.77 0.0.0.0 UG 40 0 0 eth0
where 128.97.4.77 is the router to Campus Network Services, effectively the
machine that's connected to our ISP.
James F. Carter Voice 310 825 2897 FAX 310 206 6673
UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: jimc@math.ucla.edu http://www.math.ucla.edu/~jimc (q.v. for PGP key)
--g9PJqQPM002122.1035575546/simba.math.ucla.edu--
ReSent-Date: Fri, 25 Oct 2002 13:12:20 -0700 (PDT)
ReSent-From: Jim Carter
I have installed Suse 8.1 on two machines that have been running 7.3. On my home machine on my home LAN, I didn't have much trouble getting it to add a default route using the LAN firewall/forwarder as a gateway.
But here at work, I can't get the thing on the net using the yast tool. I will show you my existing routing table on the machine that works:
Destination Gateway Genmask Flags Metric Ref Use Iface 134.252.41.0 * 255.255.255.0 U 0 0 0 eth0 default * 0.0.0.0 U 0 0 0 eth0
but on the 8.1 machine I only get the first line of the routing table, not the second line showing a default route. When I manually do:
#route add default eth0
then the 8.1 machine works fine. The DNS is set up Ok using yast, so once I do the manual route add, the machine is on the net.
I'm not sure I get the network configuration. You're using static IP, not DHCP, right? You need to tell it which actual machine should get your "outside world" packets, not just throw them onto eth0 and hope someone will take responsibility. The residential gateway may do so, but that's not how routing is supposed to work. In yast2, select networking-advanced, and within that, routing. It asks for a default gateway. Fill in the IP address of your egress router (at home, your residential gateway) and everything will start working. You want to see something like this: jimc ~ 3.3> netstat -r -n Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 128.97.4.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 0.0.0.0 128.97.4.77 0.0.0.0 UG 40 0 0 eth0 where 128.97.4.77 is the router to Campus Network Services, effectively the machine that's connected to our ISP. James F. Carter Voice 310 825 2897 FAX 310 206 6673 UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555 Email: jimc@math.ucla.edu http://www.math.ucla.edu/~jimc (q.v. for PGP key) --g9PJqQPM002122.1035575546/simba.math.ucla.edu--