Re: How to access hosts in other subnet
- From: Ronald Nissley <rnissley+usenet@xxxxxxxxx>
- Date: Tue, 29 Jul 2008 04:26:21 GMT
On Mon, 28 Jul 2008 19:05:53 -0700, lovecreatesbea...@xxxxxxxxx wrote:
Before I assigned more IP adresses for my machine to access those hosts.
Can I use a proper netmask with only single IP address to do so?
There is no "magical" netmask that will allow you to connect to these
other subnets. You need routes to get to these networks. For example, if
another system with IP address 192.168.3.5 has a second interface with
the address 192.168.4.1 assigned (and routes between the two networks),
then you would do something like:
# route add -net 192.168.4.0 netmask 255.255.255.0 gw 192.168.3.5
to be able to talk to systems on the 192.168.4.0/24 network.
If you run a DHCP server (not the simple DHCP server option on a home-
class router) on your network, check if it handles a classless static
route option (scope option 249 on Microsoft's DHCP server). This option
can ease administration by letting DHCP configure client routing tables.
From my brief research on this, it's not clear, but I think only someMicrosoft DHCP clients (XP, Windows 2003) support this option. ISC's DHCP
Client doesn't appear to support this option, however, ISC's DHCP Server
can support this option. You would need to define it.
http://lists.freebsd.org/pipermail/freebsd-questions/2005-
December/107071.html
You can also try to have routes automatically added when interfaces are
brought "up".
http://listas.softwarelibre.cu/pipermail/linux-l/2004-July/038063.html
-Ciao
Ron
.
- Follow-Ups:
- Re: How to access hosts in other subnet
- From: lovecreatesbea...@xxxxxxxxx
- Re: How to access hosts in other subnet
- References:
- How to access hosts in other subnet
- From: lovecreatesbea...@xxxxxxxxx
- How to access hosts in other subnet
- Prev by Date: Re: troubleshooting
- Next by Date: Software Package Free! ... about our Free Software
- Previous by thread: Re: How to access hosts in other subnet
- Next by thread: Re: How to access hosts in other subnet
- Index(es):
Relevant Pages
|