Hi JF,
Thanks for the reply.
The scenario you just described is applicable when the modem is configured as a router. But if I understand correctly, the scenario will be different if the modem is configured as a bridge since the PC will be the one to initiate the PPPoE connection. After PPPoE has been established, the PC will be assigned a new IP address that might not belong to the subnet of the modem.
My question now is: How can the PC access the telnet interface of the modem? If the PC sends packet to the modem's IP address, will the modem/bridge be able to identify the packet and send response to the PC?
Thanks, Ina
JF Mezei wrote:
snipped-for-privacy@hotmail.com wrote:
> > What I can't understand is this:
> > If the modem acts as a bridge, the PC connected to it will initiate the
> > PPPoE connection. After the PPPoE has been established, the PC will
> > have a new IP address. How can it still be able to access the telnet
> > interface of the modem?
>
>
> If you setup your router to be a NAT/PAT device, here is how it works: >
> Your router has two distinct IP interfaces. One facing the internet, and
> one facing your LAN. Both are independant.
>
> [INTERNET]------- [ 204.206.149.21]-ROUTER-[10.0.0.1]------[LAN] >
> Your Router negotiates via PPPoE (or DHCP) an IP with the ISP. It uses that
> IP on its WAN facing interface. (WAN= internet)
>
> It has a fixed IP that you've configured on your LAN. That IP doesn't
> change. Your Router can either supply an IP (via DHCP) to your PC or your
> PC can use a fixed IP, in both cases, the PC would have an IP that is
> within the same subnet as the Router's LAN-facing IP (in the above case a > 10.* IP)
>
>
> Say your PC is 10.0.0.2 . It connects to 72.14.205.103 (google). >
> Your Router converts the packets sent by your PC, replacing the "from" IP
> (10.0.0.2) with the IP of its WAN-facing interface (204.206.149.21). So
> Google sees a call coming in from 204.206.149.21. So responses from google
> go to 204.206.149.21. When it reaches your router, the router has smarts in
> it that know that the response goes to 10.0.0.2 and your pC then gets the > packet.
>
>
> If your pC wants to connect to any host on the internet, it sends it to its
> normal internet IP address. If it wants to talk to the router, it connects
> to the LAN side IP address of the router 10.0.0.1. Also, you need to tell
> your PC that the default route (gateway) is 10.0.0.1 (your router's LAN
> side IP). This tells the PC that any packet destined outside the LAN's
> subnet is to be forwarded thorugh the router.