RE: Default router in a PPP conection was: [Re:]

2004-10-27 Thread Ming Zhang
OK, everybody,
thank you very much! I have solved the problem.
The reason that my dns server doesn't work is that the pppoe server filters 
the udp packages away.And the seemly problem that the gateway for device 
and its own ip address are the same is not a problem actually, because the 
only way out for device is via the adsl line.

From: Martin Paredes [EMAIL PROTECTED]
To: Ming Zhang [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Default router in a PPP conection was: [Re:]
Date: Mon, 18 Oct 2004 23:24:04 -0700
On Saturday 16 October 2004 08:29, Ming Zhang wrote:
 I want to know how to set the Default Gateway to be the pppoe server's 
ip.
 Or it's impossible?
add default HISADDR
_
 MSN Messenger:  http://messenger.msn.com/cn  

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


Default router in a PPP conection was: [Re:]

2004-10-19 Thread Martin Paredes
On Saturday 16 October 2004 08:29, Ming Zhang wrote:
 I want to know how to set the Default Gateway to be the pppoe server's ip.
 Or it's impossible?

add default HISADDR

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


Re: Default router in a PPP conection was: [Re:]

2004-10-19 Thread Luke Kearney

On Mon, 18 Oct 2004 23:24:04 -0700
Martin Paredes [EMAIL PROTECTED] spake thus:

 On Saturday 16 October 2004 08:29, Ming Zhang wrote:
  I want to know how to set the Default Gateway to be the pppoe server's ip.
  Or it's impossible?
 
 add default HISADDR

Another way to do this if for some reason you can't set the default GW
using this syntax is to insert a little script in rc.local that sets the
default gateway to tun0. This worked well for me.

HTH

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

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