Re: Add a gateway

2004-03-11 Thread Kevin D. Kinsey, DaleCo, S.P.
Darryl Hoar wrote:

Greetings,
I am running FreeBSD 4.7-stable on a computer.  It is 
configured to be my firewall.  My IPS changed the
technology to access my DSL.  How do I define a gateway
for an interface ?

thanks,
Darryl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

As root:

$route add default ip.of.new.gw

HTH,

Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Add a gateway

2004-03-11 Thread Kent Stewart
On Thursday 11 March 2004 01:59 pm, Darryl Hoar wrote:
 Greetings,
 I am running FreeBSD 4.7-stable on a computer.  It is
 configured to be my firewall.  My IPS changed the
 technology to access my DSL.  How do I define a gateway
 for an interface ?


#added for system operation
gateway_enable=YES # Set to YES if this host will be a 
gateway.
defaultrouter=207.41.94.1

You have to have an IP address in that network or use DHCP. 

The last would be your gateway address. I think there is more to your 
question that what you asked :). Are you using PPoE or does your 
network come up like mine does. I can't comment on how to make DHCP 
work :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Add a gateway

2004-03-11 Thread Darryl Hoar

 Darryl Hoar wrote:
 
 Greetings,
 I am running FreeBSD 4.7-stable on a computer.  It is 
 configured to be my firewall.  My IPS changed the
 technology to access my DSL.  How do I define a gateway
 for an interface ?
 
 thanks,
 Darryl
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 
   
 
 As root:
 
 $route add default ip.of.new.gw
 
 HTH,
 
 Kevin Kinsey
 DaleCo, S.P.

Yep, route add default ip.of.new.gw works like a champ.  How do I
make it perminent ?  Just add the
defaultgateway=ip.of.new.gw  ?

thanks,
Darryl

(ah, 1.5Mb is sooo nice)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Add a gateway

2004-03-11 Thread Kevin D. Kinsey, DaleCo, S.P.
Darryl Hoar wrote:

Darryl Hoar wrote:

   

Greetings,
I am running FreeBSD 4.7-stable on a computer.  It is 
configured to be my firewall.  My IPS changed the
technology to access my DSL.  How do I define a gateway
for an interface ?

thanks,
Darryl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
 

[EMAIL PROTECTED]
   



 

As root:

$route add default ip.of.new.gw

HTH,

Kevin Kinsey
DaleCo, S.P.
   

Yep, route add default ip.of.new.gw works like a champ.  How do I
make it perminent ?  Just add the
defaultgateway=ip.of.new.gw  ?
thanks,
Darryl
(ah, 1.5Mb is sooo nice)
 

Kent had that one for you; in /etc/rc.conf:

defaultrouter=ip.of.your.gw

KDK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]