On Wed, 14 Jun 2000, Ron Rademaker wrote: Some background: I got a range IP:nrs from x.y.26.0 to x.y.26.63. The Cisco is located at x.y.26.62. I've divided the whole net into three parts, 0->31, 32->48 and 49->63.
The debian-box is supposed to be located at x.y.26.61. I understand that I have to make the Cisco route all traffic for the 0->63 network to x.y.26.61, but do I also have to tell it that I have three subnets there? Here we go: --- [EMAIL PROTECTED]:~> route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface x.y.26.48 0.0.0.0 255.255.255.240 U 0 0 0 eth0 x.y.26.48 x.y.26.61 255.255.255.240 UG 1 0 0 eth0 x.y.26.32 0.0.0.0 255.255.255.240 U 0 0 0 eth1 x.y.26.32 x.y.26.46 255.255.255.240 UG 1 0 0 eth1 x.y.26.0 0.0.0.0 255.255.255.224 U 0 0 0 eth2 x.y.26.0 x.y.26.30 255.255.255.224 UG 1 0 0 eth2 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 x.y.26.62 0.0.0.0 UG 1 0 0 eth0 [EMAIL PROTECTED]:~> ifconfig eth0 Link encap:Ethernet HWaddr 00:n0:nA:41:4A:11 inet addr:x.y.26.61 Bcast:x.y.26.63 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:119800 errors:0 dropped:0 overruns:0 frame:0 TX packets:6362 errors:0 dropped:0 overruns:0 carrier:0 collisions:6 txqueuelen:100 Interrupt:5 Base address:0x7000 eth1 Link encap:Ethernet HWaddr 00:n0:nA:41:4A:14 inet addr:x.y.26.46 Bcast:x.y.26.47 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:121726 errors:0 dropped:0 overruns:0 frame:0 TX packets:99 errors:0 dropped:0 overruns:0 carrier:0 collisions:1 txqueuelen:100 Interrupt:10 Base address:0x7400 eth2 Link encap:Ethernet HWaddr 00:n0:nA:41:48:C6 inet addr:x.y.26.30 Bcast:x.y.26.31 Mask:255.255.255.224 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:115245 errors:0 dropped:0 overruns:0 frame:0 TX packets:15373 errors:0 dropped:0 overruns:0 carrier:0 collisions:4448 txqueuelen:100 Interrupt:3 Base address:0x7800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 [EMAIL PROTECTED]:~> ipchains -L Chain input (policy ACCEPT): Chain forward (policy ACCEPT): Chain output (policy ACCEPT): --- (Sorry for the x.y's and n's, but since this is supposed to be a firewall later, I don't want any visitors right now :] ) Thanks. Andreas == andreas pÄlsson == [EMAIL PROTECTED] == > What does your route tables looks like, what does ifconfig give, what does > ipchains -L give as output?? > > Ron Rademaker > > On Wed, 14 Jun 2000, Andreas Palsson wrote: > > > Hello. > > > > Anyone got any good information on using Linux as a router? > > > > I have a Slink-box that is supposed to route traffic between 3 networks. > > It's equipped with 3 3Com cards and on of them is connected to a > > Cisco-router (Internet). > > > > Everything works between the two networks, but I can't get any traffic in > > or out from the Cisco. Not even ping it. > > > > Any info, sites, docs can be helpful. > >