<p>Hi,</p>
<p>I have my isc-dhcp-server setup as a shared network with two subnets that<br>are using the same interface (eth0). ETH0 is connected to a 5 port switch<br>which connects Linksys router. The problem I have is that I cannot ping<br>
anything on the internet when I receive an IP address in the 192.168.100.X<br>subnet. I am unable to ping 192.168.1.2 from the 192.168.100.X subnet.</p>
<p> I tried changing the 'options routers' for the 192.168.100.X subnet to<br>192.168.1.2 and that didn't make a difference.</p>
<p>Network Topology<br>------------------------<br>Linkysys router (192.168.1.1) ---> 5 Port Hub ---- > NIC Eth0<br>(192.168.1.2) / ETH0:1 (192.168.100.1)<br>Snippet from my configuration</p>
<p>DHCP.CONF<br>----------------------</p>
<p>option routers 192.168.1.1;<br>one-lease-per-client true;<br>get-lease-hostnames true;</p>
<p>shared-network MYNET {</p>
<p> # trusted subnet<br> subnet 192.168.1.0 netmask 255.255.255.0 {<br> max-lease-time 172800;<br> default-lease-time 28800;</p>
<p> 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> }</p>
<p> # untrustedhosts<br> subnet 192.168.100.0 netmask 255.255.255.0 {<br> max-lease-time 28800;<br> default-lease-time 14400;</p>
<p> pool {</p>
<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> }</p>
<p><br>My NIC is setup as follows :</p>
<p>eth0<br>ipv4 address : 192.168.1.2<br>netmask 255.255.255.0<br>broadbase 192.168.1.255</p>
<p>eth0:1 Virtual<br>ipv4 address : 192.168.100.1<br>netmask 255.255.255.0<br>broadcast 192.168.100.255</p>
<p>According to a book I have called The DHCP Handbook I should not have to<br>setup a route since it is setup as a shared network using a single NIC, i am<br>unsure what I need to do to route the traffic to my Linksys router<br>
(192.168.1.1)</p>
<p>Let me know if you need any other information..</p>
<p>Any help is appreciated.</p>