<div>Hi,<br> <br>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.</div>
<div> </div>
<div>
<div>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. </div>
<div> </div>
<div>Network Topology</div>
<div>------------------------ <br>Linkysys router (192.168.1.1) ---> 5 Port Hub ---- > NIC Eth0 (192.168.1.2) / ETH0:1 (192.168.100.1)<br></div></div>
<div>Snippet from my configuration<br> <br>DHCP.CONF<br>----------------------<br> <br>option routers 192.168.1.1;<br>one-lease-per-client true;<br>get-lease-hostnames true;<br> <br>shared-network MYNET {<br> <br>
# trusted subnet<br> subnet 192.168.1.0 netmask 255.255.255.0 {<br> max-lease-time 172800;<br> default-lease-time 28800;<br> <br> pool {<br> range 192.168.1.10 192.168.1.39;<br> option routers 192.168.1.1;<br>
option domain-name-servers 192.168.1.2;<br> option subnet-mask 255.255.255.0;<br> deny unknown-clients;<br> }<br> }<br> <br> # untrustedhosts<br> subnet 192.168.100.0 netmask 255.255.255.0 {<br> max-lease-time 28800;<br>
default-lease-time 14400;<br> <br> pool {</div>
<p> range 192.168.100.2 192.168.100.6;<br> option routers 192.168.1.1;<br> option domain-name-servers 192.168.100.1;<br> option subnet-mask 255.255.255.0<br> allow unknown-clients;<br> }<br> }<br> }<br> <br>
<br>My NIC is setup as follows : <br> <br>eth0 <br>ipv4 address : 192.168.1.2<br>netmask 255.255.255.0<br>broadbase 192.168.1.255<br> <br>eth0:1 Virtual <br>ipv4 address : 192.168.100.1<br>netmask 255.255.255.0<br>broadcast 192.168.100.255 <br>
<br>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)<br>
<br>Let me know if you need any other information.. <br> <br>Any help is appreciated.<br clear="all"><br>-- <br><a href="<a href="http://www.c28.com/?adid=st&iid=19467" target="_blank">http://www.c28.com/?adid=st&iid=19467</a>"><br>
<img src="<a href="http://www.c28.com/images/banner_88x31.gif" target="_blank">http://www.c28.com/images/banner_88x31.gif</a>" border="0" width="88" height="31"></a><br>
</p>