OK, so I have an openSUSE 10.2 installed on my computer and it's connected to an ADSL router / modem (dsl0; Aztech ADSL 600E) directly (through ethernet card eth0)
I have another network card (eth1) which is connected to another computer (client, with Windows XP) with a crossover cable.
What I'm trying to do, is set the openSUSE computer to be the internet gateway for the client (WinXP) computer.
I've followed the instructions here -
http://en.opensuse.org/SDB:DSL_Gatew..._8.0_or_Higher to the letter, and all things work fine, except for the last part where the client computer connects to the internet
Both computers have no problem pinging each other, and have no problems samba-accessing each other.
All network cards have static IPs for confortability (incl. the WinXP one)
netstat -rn output is:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
212.143.205.235 0.0.0.0 255.255.255.255 UH 0 0 0 dsl0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 dsl0
ifconfig output is:
Code:
dsl0 Link encap:Point-to-Point Protocol
inet addr:89.138.68.24 P-t-P:212.143.205.235 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:266 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:16816 (16.4 Kb) TX bytes:533 (533.0 b)
eth0 Link encap:Ethernet HWaddr 00:19:D1:3D:6C:2A
inet addr:192.168.2.22 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe3d:6c2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18982 errors:0 dropped:0 overruns:0 frame:0
TX packets:17570 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13083864 (12.4 Mb) TX bytes:2539471 (2.4 Mb)
Base address:0x30e0 Memory:50400000-50420000
eth1 Link encap:Ethernet HWaddr 00:D0:B7:7F:0A:79
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:b7ff:fe7f:a79/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:225 errors:0 dropped:0 overruns:0 frame:0
TX packets:402 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31204 (30.4 Kb) TX bytes:50360 (49.1 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:99 errors:0 dropped:0 overruns:0 frame:0
TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6632 (6.4 Kb) TX bytes:6632 (6.4 Kb)
content of /etc/sysconfig/network/routes is
Code:
default 192.168.0.1 - -
According to the ADSL router manufacturer, and the ISP's info, the ADSL router's gateway IP should be 10.0.0.138, but it doesn't show that anywhere, and trying to config that as the default server or trying to ping it does nothing
I saw some other papers about this issue, and they claim I'm supposed to have some line in the netstat -rn that goes like this
Code:
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
but I don't
Sorry for the long post
Any clues?
Thanks!
karnaf