H. S. <(E-Mail Removed)> wrote:
> Apparently, _Unruh_, on 19/05/05 20:51,typed:
>> "H. S." <(E-Mail Removed)> writes:
>>
>>>Hi,
>>
>>>I am connecting to an ADSL connection through a linux box(CompR below)
>>>used as a router with two NICs. Here is the setup:
>>
>>> CompR
>>> ,-----------.
>>>(INTERNET) -->ppp0--->eth1 eth0-----> LAN (192.168.0.xyz)
>>> `-----------'
>>
>>>I have my iptables script and have enables masquerading and my LAN
>>>computers can browse the web and connect to external VPN servers and all
>>>is well.
>>
>>>However, after just talking to Bell Sympatico's help centre, I have
>>>discovered that the ADSL modem has an internal IP address (of the
>>>network interface that connects to my eth1 above) of 192.168.2.1. I have
>>>given the eth1 an address of 192.168.2.10.
>>
>> As root do
>>
>> route add -host 192.168.2.1 eth1
>> Now anything for that ip will go out eth1, and thus to the router.
>>
> hmm .. seems like I already have this:
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 64.230.197.68 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 0.0.0.0 64.230.197.68 0.0.0.0 UG 0 0 0 ppp0
> and something else seems to be lacking.
If the router Ethernet interface is configured not to respond to
ARP requests then only a host route will succeed. It may not be
the problem but seems worth a try. AIUI, the PPPoE client Ethernet
interface is not meant be configured with an IP address.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/