Graham,

It is possible, but not easy.  My instinct is to disable DHCP on eth2 and use 
the DHCP server on the gateway, but I'm sure you already thought of that.

1) Using the web interface, Network tab, disable DHCP on the Internal Interface 
using eth2 in question.

2) Again in the Network tab, (at the very bottom) click { Edit DNSMasq Static 
}, then add the following lines:

dhcp-range=lan2,192.168.222.100,192.168.222.252,24h
dhcp-option=lan2,option:router,192.168.222.1
dhcp-option=lan2,option:dns-server,192.168.222.1
dhcp-option=lan2,option:tftp-server,"192.168.222.1"
dhcp-option=lan2,150,192.168.222.1
dhcp-option=lan2,option:ntp-server,192.168.222.1

replacing 192.168.222.1 with your gateway and use the proper dhcp-range.

3) Again in the Network tab, (top of page) select [ Restart DNS & DHCP ] _x_ 
Confirm and click { Reboot/Restart }

You should be in business, but remember that if you every change the eth2 
Interface settings in the Network tab you must also change the manual DHCP 
settings.

Lonnie


On Oct 22, 2010, at 4:51 PM, Graham S. Jarvis wrote:

> Hello all,
> 
> I'm running 0.7.3 as a test installation on a Net4801 (ie three Ethernet 
> ports).
> The 4801 is a gateway (using a DSL modem on eth0) for one network (eth1) but 
> not
> for the other (eth2).  All hosts on the network connected to eth2 use a
> different router on that network as the gateway.
> 
> Is is possible to configure dhcp on eth2 so that it doesn't use itself as the
> gateway but uses a gateway somewhere else on that network?
> I don't find anything in the GUI and I didn't find my way around the various
> config files yet.  There should be place where I can set (amongst other 
> things)
> "dhcp-option=eth2,3,192.168.x.x" to point to the router/gateway.
> 
> I don't (yet?) want dhcp on eth1 but if I did it should use itself as the 
> gateway.
> 
> Thanks in advance!
> 
> -Graham-
> 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to