Unable to Ping / Shared Network
Barry Stear
bstear at gmail.com
Wed Jul 6 16:10:09 UTC 2011
Hi,
I have my isc-dhcp-server setup as a shared network with two subnets that
are using the same interface (eth0). ETH0 is connected to a 5 port switch
which connects Linksys router. The problem I have is that I cannot ping
anything on the internet when I receive an IP address in the 192.168.100.X
subnet. I am unable to ping 192.168.1.2 from the 192.168.100.X subnet.
I tried changing the 'options routers' for the 192.168.100.X subnet to
192.168.1.2 and that didn't make a difference.
Network Topology
------------------------
Linkysys router (192.168.1.1) ---> 5 Port Hub ---- > NIC Eth0
(192.168.1.2) / ETH0:1 (192.168.100.1)
Snippet from my configuration
DHCP.CONF
----------------------
option routers 192.168.1.1;
one-lease-per-client true;
get-lease-hostnames true;
shared-network MYNET {
# trusted subnet
subnet 192.168.1.0 netmask 255.255.255.0 {
max-lease-time 172800;
default-lease-time 28800;
pool {
range 192.168.1.10 192.168.1.39;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.2;
option subnet-mask 255.255.255.0;
deny unknown-clients;
}
}
# untrustedhosts
subnet 192.168.100.0 netmask 255.255.255.0 {
max-lease-time 28800;
default-lease-time 14400;
pool {
range 192.168.100.2 192.168.100.6;
option routers 192.168.1.1;
option domain-name-servers 192.168.100.1;
option subnet-mask 255.255.255.0
allow unknown-clients;
}
}
}
My NIC is setup as follows :
eth0
ipv4 address : 192.168.1.2
netmask 255.255.255.0
broadbase 192.168.1.255
eth0:1 Virtual
ipv4 address : 192.168.100.1
netmask 255.255.255.0
broadcast 192.168.100.255
According to a book I have called The DHCP Handbook I should not have to
setup a route since it is setup as a shared network using a single NIC, i am
unsure what I need to do to route the traffic to my Linksys router
(192.168.1.1)
Let me know if you need any other information..
Any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110706/3c612eda/attachment.html>
More information about the dhcp-users
mailing list