[EMAIL PROTECTED] wrote:
Idea:
Why not making 10.x.x etc as a second ip adres on your eth0?
Of course, have you checked the route command?
Then you can acces the internet and the modem whenever you want...
The route is automatically set up by the 'ifconfig', so I now see:
# route
-n
Kernel IP routing
table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.xx.xx.xx 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
192.168.yy.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
0.0.0.0 172.xx.xx.xx 0.0.0.0 UG 0 0 0
ppp0
and I can ping the modem:
# ping 10.0.0.138 -c
3
PING 10.0.0.138 (10.0.0.138): 56 data
bytes
64 bytes from 10.0.0.138: icmp_seq=0 ttl=255 time=2.1
ms
64 bytes from 10.0.0.138: icmp_seq=1 ttl=255 time=1.1
ms
64 bytes from 10.0.0.138: icmp_seq=2 ttl=255 time=1.1
ms
--- 10.0.0.138 ping statistics
---
3 packets transmitted, 3 packets received, 0% packet
loss
round-trip min/avg/max = 1.1/1.4/2.1 ms
However, the pings are not forwarded. Actually, the 10.* net is DENYed
in
both the input and output chains. This is normal, one does not want
packets
from the outside using an internal address, and in general the reserved
subnets are not expected to be seen coming from the outside.
Setting up 10.0.0.138 is an exception that should be done carefully.
--
Eyal Lebedinsky ([EMAIL PROTECTED]) <http://samba.anu.edu.au/eyal/>
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user