For testing boxes inhouse, I do the following:

EXTIF=dummy0
EXTIP=10.0.0.51
EXTNM=255.255.255.0

and in /mnt/kd/rc.elocal I do:

#!/bin/bash

. /etc/rc.conf

ip route add default via 192.168.1.1 dev $INTIF



On 7/23/10 9:09 AM, Lonnie Abelbeck wrote:
> Christopher,
>
> No, it is assumed that EXTIF must *always* be specified.
>
> A single interface setup would only have EXTIF defined.
>
> A dual interface setup would have both EXTIF and INTIF defined.
>
> The firewall, dnsmasq, and others make this assumption.
>
> Normally, for a single interface setup, DHCP and NTP services are provided by 
> upstream servers.
>
> Is there a way to coax your environment into this model? Could you describe 
> your setup a little more?
>
> If you only have a single interface, but need both external and internal 
> networks, you could use VLANS="eth1.10", set EXTIF="eth1" and INTIF="eth1.10" 
> with a managed VLAN switch.
>
> Lonnie
>
>
>
> On Jul 23, 2010, at 7:34 AM, Chris Abnett wrote:
>
>> Ok so I was scouring the internet trying to figure out why my ntpd server 
>> was not working.. in fact it was not running at all..
>>
>> When I manually run it ‘/usr/sbin/ntpd -4 –c  /etc/ntpd.conf’   it runs great
>>
>> So I looked into the S30 script and found out the reason why it wont work…  
>> I have no EXTIF defined or running (and I don’t want one)…
>>
>> At some point I may want an EXTIF but right now im wanting to run local and 
>> gain internet access through the customer’s LAN…
>>
>> In my rc.elocal  I had to add the line ‘route add default gw 
>> xxx.xxx.xxx.xxx’  to get a gateway to the internet…
>>
>> I was hoping there would be a config option for that…
>>
>> I could also put a line in there to start up my ntpd. But im looking to try 
>> and do things the right way and not so much a hack..
>>
>> (mainly so it isn’t so tough when someone needs to change an IP or gateway  
>> its all done in the same config or perhaps lonnie’s gui)…
>>
>> The obvious answer I will hear is to run an EXTIF and no INTIF..  but I need 
>> a DHCP server running.. and also the time server listening on the interface….
>>
>> What is the correct way for me to do what im looking to do?
>>
>> Currently I have EXTIF=””  and INTIF=”eth1”  and this works for the phone 
>> system side no issues…  just other things it wants to break…


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to