mpd help
From: wsk (wsk_at_gddsn.org.cn)
Date: 08/29/05
- Previous message: Donatas: "Re: routing problem (with corrected scheme)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Aug 2005 10:00:30 +0800 To: net@freebsd.org
hi,lists:
I'm wondering how i can assigned a static IP for multi PCs on mpd??
follow is my situations and problems:
my mpd.conf
# Default configuration is "myisp"
default:
load client1
load client2
client1:
new -i ng0 pptp pptp
# set iface addrs 192.168.1.1 192.168.168.50
set ipcp ranges 192.168.1.1/32 192.168.1.50/32
load pptp
# ...
#
client2:
# set iface addrs 192.168.1.1 192.168.1.51
new -i ng1 pptp1 pptp1
set ipcp ranges 192.168.1.1/32 192.168.1.51/32
load pptp
pptp:
set iface idle 0
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link enable chap
set link keep-alive 10 60
set link mtu 1460
set ipcp yes vjcomp
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
and mpd.links:
pptp:
set link type pptp
set pptp self 202.x.x.x
set pptp enable incoming
set pptp disable originate
pptp1:
set link type pptp
set pptp self 202.x.x.x
set pptp enable incoming
set pptp disable originate
now , the problem is while my client2 pptp to the server with static IP e.g:
pptp 202.x.x.x lock persist nodetach name MyLogin remotename MyPassword
192.168.1.51:192.168.1.1 netmask 255.255.255.255
and if the client1's link didn't established ,the client2 always can not
establish the links event set iface addrs options.
viceversa is not!could anyone help me? TIA
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Donatas: "Re: routing problem (with corrected scheme)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|