kevin bailey wrote:
>>>similarly, in the PC what should the gateway address be set to?
>>
>> The gateway address will be passed to the modem via PPP, and set in
>>the PC via DHCP - just like the IP address.
>
>
> this sounds like half bridge mode whereby the PC (or other device) gets its
> network settings via DHCP.
>
> according to Netgear their DG632 acts in full bridge mode - in this case the
> PC runs a DHCP request - this goes straight through the modem/router and is
> answered by the ISP with the external IP address.
>
> although the gateway gets set to the same address as the external IP address
> which is different from when the modem gets network details itself
/
Hmm that confuses me - Assuming the LAN is eth how can it really have
the same address as a PC on the same eth - ie would they both answer an
arp request for that ip with different mac addresses.
>
> there's more stuff going on underneath which its difficult to find out
> about!
Bridging I think is a term that gets used loosely - it is defined
formally for ethernet, but then that's LAN only due to use of broadcast,
so doesn't apply to wan/lan.
I suppose the router means it's trying to hide/auto setup the routing
details for you. I use a PC as a router and have only one ip address -
so can't say from experience what happens.
You mention DHCP - there is no requirement at all to use it to setup an
IP/ethernet network or dsl - it's just convinient and I don't think the
router will pass on to the ISP any DHCP requests.
As Harry said in practice your can get your IP address during the PPP
setup - essential if it's dynamic - irrelevant if it's static (as long
as you know what it is/they are). All 3 methods of connecting dsl
through BT use ppp - but ppp frames don't care what they carry hence no
real need for ip address/gateway on a ppplink (in fact my isp used to
not give a remote ppp address sometimes - ppp just used one picked from
10.0.0.0/8 so you could use it in your ip routing setup).
In practice dsl modems are ATM devices, in the UK with BT you need to
use PPP to connect so the ip packet from your PC arrives at the LAN
interface possibly as payload of an eth frame, gets put in a ppp frame
which gets put in an aal5 frame is padded out to fit into atm cells and
then given over to the modem as a train of cells (not all at once as
there may be, but usually aren't, other cells (OAM) that get priority).
Andy.