Geek help: static IP addresses
Oct. 25th, 2003 06:08 pmQuick geek help sought with making sure I understand IP routing properly.
Zen have allocated me the static IP address block 82.68.129.72/29. Of these eight addresses, one is the network address, one is the broadcast address.
I've fitted an ADSL card to my main PC, saltationism. So it has two interfaces: an ADSL interface and a LAN one. That's two more addresses taken. So there are four left: I can give up to four more machines on the LAN static IP addresses.
The thing that worries me is that if the subnet for the LAN is 82.68.129.72/29, then can I assign an address from that subnet to the ADSL card? If I do, will my LAN be able to route to that address? If not, what should I do instead?
Zen have allocated me the static IP address block 82.68.129.72/29. Of these eight addresses, one is the network address, one is the broadcast address.
I've fitted an ADSL card to my main PC, saltationism. So it has two interfaces: an ADSL interface and a LAN one. That's two more addresses taken. So there are four left: I can give up to four more machines on the LAN static IP addresses.
The thing that worries me is that if the subnet for the LAN is 82.68.129.72/29, then can I assign an address from that subnet to the ADSL card? If I do, will my LAN be able to route to that address? If not, what should I do instead?
no subject
Date: 2003-10-25 10:20 am (UTC)I know iptables in Linux has support for bridges, so it would be possible to have this topology. But it would involve using proxy-arp which gives one of those ick feelings.
no subject
Date: 2003-10-25 10:39 am (UTC)no subject
Date: 2003-10-25 10:43 am (UTC)no subject
Date: 2003-10-25 10:53 am (UTC)Dose the ADSL interface get assigned a IP address from a different range from your ISP ? In most situations this address would be used to route the subnet though the router and you would not have to use the same subnet on both sides of router.
In Cisco terms you could use ip unnumbered on the ADSL interface and just use the ip address from the eth0 interface, but these days I use more Cisco kit than Linux for network rotes at work.
no subject
Date: 2003-10-25 11:05 am (UTC)I don't know what you mean by the Cisco thing...
no subject
Date: 2003-10-25 05:18 pm (UTC)