Date: Mon, 29 Aug 2005 10:00:30 +0800 From: wsk <wsk@gddsn.org.cn> To: net@freebsd.org Subject: mpd help Message-ID: <43126C3E.6030004@gddsn.org.cn>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43126C3E.6030004>