|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SuSE 9 - Router Configuration
Here you can find a picture of my network and the configurations on every interface:
URL I am trying to configure SuSE 9 as a router. From the workstaion in the picture I can ping every interface of the router! (10.1.0.1, 10.0.0.1, 81.196.96.2), but I can''t reach the router's gateway (81.196.96.1). For the moment I am only trying to get the routing process working, then I will try to find out how to configure the NAT. At this point I have this configuration on my router: Kernel IP routing table Destination__Gateway______Genmask________Flags Metric Ref Use Iface 81.196.96.0__0.0.0.0_______255.255.255.192___U___0___0___0__ eth0 10.0.0.0_____0.0.0.0_______255.255.0.0_______U___0___0___0__ eth1 10.1.0.0_____0.0.0.0_______255.255.0.0_______U___0___0___0__ eth2 0.0.0.0______81.196.96 .1___0.0.0.0__________UG __0___0___0__ eth0 eth0 Link encap:Ethernet HWaddr 00 0:B7:B0:10:02inet addr:81.196.96.2 Bcast:81.196.96.63 Mask:255.255.255.192 inet6 addr: fe80::2d0:b7ff:feb0:1002/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:93633 errors:0 dropped:0 overruns:0 frame:0 TX packets:12302 errors:0 dropped:0 overruns:0 carrier:0 collisions:22 txqueuelen:100 RX bytes:5037688 (4.8 Mb) TX bytes:936925 (914.9 Kb) Interrupt:10 Base address:0x8400 Memory:e5000000-e5000038 eth1 Link encap:Ethernet HWaddr 00:02:B3:07:9F:76 inet addr:10.0.0.1 Bcast:10.0.255.255 Mask:255.255.0.0 inet6 addr: fe80::202:b3ff:fe07:9f76/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:112 dropped:0 overruns:0 carrier:112 collisions:0 txqueuelen:100 RX bytes:0 (0.0 B) TX bytes:18560 (18.1 Kb) Interrupt:3 Base address:0x8000 Memory:e4000000-e4000038 eth2 Link encap:Ethernet HWaddr 00:0C:6E C:ED:58inet addr:10.1.0.1 Bcast:10.1.255.255 Mask:255.255.0.0 inet6 addr: fe80::20c:6eff:fedc:ed58/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17849 errors:0 dropped:0 overruns:0 frame:0 TX packets:3600 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1151257 (1.0 Mb) TX bytes:274637 (268.2 Kb) Interrupt:5 Base address:0x8800 Last edited by fulgeru99 : February 20th, 2004 at 07:29 AM. |
|
#2
|
|||
|
|||
|
If you can't access your gateway from Linux, it means you are not linked properly to it. Make sure you can ping .1 gateway. You may benefit from -I option in ping to set the source address to 81.196.96.2
Hope this helps. |
|
#3
|
|||
|
|||
|
personaly I think maybe your linux router is working fine and your default gateway router that you are trying to ping does not have a route back to the 10.1.0.0/16 network. In other words make sure your internet router has a static route for the 10.1.0.0/16 network pointing back to the linux box so it can reply back to your ICMP request.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Networking Help > SuSE 9 - Router Configuration |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|