Hello all!
On 02/01/05, I started a short thread about setting up a Linux box as a router. Following the various replies received and a bit more Googling around, I have arrived at the following setup which almost works. I think that another little "kvetch" will get us there.
First, I have changed ny setup to a SuSE 9.2 box acting as a server (including Samba) and an ethernet link to the ADSL.
For the network, I use eth0 with the fixed IP of 192.168.1.100. It has the DHCP server up and running, with an available range of 192.168.1.101-254. The network adapter eth0 along with the adapters of the clients are attached to a hub.
The ADSL unit is connected directly to eth1 on the server, and is set up to get an IP address from the attached Alcatel ST 510 unit. It always comes up with 10.0.0.1
There is a WIn 2K client and a multi partitioned laptop with Win XP or SuSE 9.2 as required. For our purposes it will be booted as a Linux client. Both clients are set to use DHCP to get a host address, and for automatic DNS address acquisition.
As things stand, the LAN works fine. I have correct internet function from the server itself (otherwise you wouldn't be reading this). From the clients, I can see the ADSL modem page on 10.0.0.138, but I cannot get any further i.e. the clients see the modem but can not get any further. That's the missing "kvetch".
Now for the technical stuff: To get as far as I did, I followed the instruction in the HOWTO,
http://www.novell.com/coolsolutions/feature/11505.html
Despite its total SuSE orintation, is should be of general interest, in that it caters for most of the issues raised in the previous thread.
Here is the ifconfig output (stripped of irrelevant stuff):
danny:~ # ifconfig
dsl0 Link encap:Point-to-Point Protocol
inet addr:83.130.124.183 P-t-P:213.8.255.155 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:9609 errors:0 dropped:0 overruns:0 frame:0
TX packets:8011 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:8720064 (8.3 Mb) TX bytes:1227999 (1.1 Mb)
eth0 Link encap:Ethernet HWaddr 00:C1:26:0E:CA:F3 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2c1:26ff:fe0e:caf3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8601 errors:0 dropped:0 overruns:0 frame:0 TX packets:9306 errors:0 dropped:0 overruns:0 carrier:0 collisions:392 txqueuelen:1000 RX bytes:1751029 (1.6 Mb) TX bytes:2413282 (2.3 Mb) Interrupt:9 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:C1:26:0E:CA:46 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::2c1:26ff:fe0e:ca46/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:28391 errors:0 dropped:0 overruns:0 frame:0 TX packets:39659 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:17849057 (17.0 Mb) TX bytes:5582722 (5.3 Mb) Interrupt:5 Base address:0x4000
lo Link encap:Local Loopback ...
Here is the routing table:
danny:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.8.255.155 0.0.0.0 255.255.255.255 UH 0 0 0 dsl0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
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 213.8.255.155 0.0.0.0 UG 0 0 0 dsl0
(Sorry about the wrap around)
For what it's worth, I connect through Internet Zahav with
DNS 1: 192.116.202.222 DNS 2: 213.8.172.83 Gateway: 213.8.255.155
Here is reolv.conf as modified by ppd:
search lan nameserver 192.116.202.222 nameserver 213.8.172.83
I apologise for being a bit long winded - but having all this stuff up front should save many subsequent exchanges.
Cheers,
Daniel
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]