Re: How to access hosts in other subnet
- From: "lovecreatesbea...@xxxxxxxxx" <lovecreatesbeauty@xxxxxxxxx>
- Date: Mon, 28 Jul 2008 22:40:19 -0700 (PDT)
On Jul 29, 12:26 pm, Ronald Nissley <rnissley+use...@xxxxxxxxx> wrote:
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.
What's the ``24'' at the end of that address.
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 some
Microsoft 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
Thank you, Ron. I'll try your suggestion.
.
- Follow-Ups:
- Re: How to access hosts in other subnet
- From: Baho Utot
- Re: How to access hosts in other subnet
- From: b_dutta
- Re: How to access hosts in other subnet
- References:
- How to access hosts in other subnet
- From: lovecreatesbea...@xxxxxxxxx
- Re: How to access hosts in other subnet
- From: Ronald Nissley
- How to access hosts in other subnet
- Prev by Date: Software Package Free! ... about our Free Software
- Next by Date: how to configure Gateway func between 2 ifaces, one with static IP, other with DHCP
- 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
|