From owner-freebsd-questions Tue Mar 19 23:41:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web12801.mail.yahoo.com (web12801.mail.yahoo.com [216.136.174.36]) by hub.freebsd.org (Postfix) with SMTP id 11A7B37B41A for ; Tue, 19 Mar 2002 23:40:17 -0800 (PST) Message-ID: <20020320074016.12123.qmail@web12801.mail.yahoo.com> Received: from [216.138.223.67] by web12801.mail.yahoo.com via HTTP; Tue, 19 Mar 2002 23:40:16 PST Date: Tue, 19 Mar 2002 23:40:16 -0800 (PST) From: Dave Banning Subject: change from dynamic to static problem To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have just changed suppliers of DSL because I wanted a static IP address. My new service works under Windows but I am having trouble getting it working under FBSD. What I -don't- understand is where I got vr0 from. It is not listed with either netstat or ifconfig, but it -was- working with my previous dsl service. I tried using my other network card for the dsl modem and changed the vr0 reference to dc0. Any help would be appreciated. I have documented some information; I changed /etc/rc.conf; FROM; ifconfig_vr0=up TO: ifconfig_vr0="209.188.66.29" and changed my /etc/ppp/ppp.conf; FROM: default: # or name_of_service_provider set device PPPoE:vr0 # replace xl1 with your ethernet device set authname previous_username set authkey previous_password set ifaddr 10.0.0.1/0 10.0.0.2/0 TO: default: # or name_of_service_provider set device PPPoE:vr0 # replace xl1 with your ethernet device set authname newusername set authkey newpassword set ifaddr 209.188.66.29 206.221.248.4 255.255.255.255 0.0.0.0 ifconfig says; dc0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::220:78ff:fe0e:13d6%dc0 prefixlen 64 scopeid 0x1 ether 00:20:78:0e:13:d6 media: Ethernet autoselect (10baseT/UTP) status: active lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 faith0: flags=8000 mtu 1500 tun0: flags=8051 mtu 1500 inet6 fe80::220:78ff:fe0e:13d6%tun0 prefixlen 64 scopeid 0x7 inet 216.138.223.86 --> 10.0.0.2 netmask 0xffffffff Opened by PID 576 and netstat -nr; Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.0.0.2 UGSc 4 0 tun0 10.0.0.2 216.138.223.86 UH 5 0 tun0 127.0.0.1 127.0.0.1 UH 0 6 lo0 192.168.1 link#1 UC 1 0 dc0 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 3 49 dc0 Internet6: Destination Gateway Flags Netif +Expire ::1 ::1 UH lo0 fe80::%dc0/64 link#1 UC dc0 fe80::220:78ff:fe0e:13d6%dc0 0:20:78:e:13:d6 UHL lo0 fe80::%lo0/64 fe80::1%lo0 Uc lo0 fe80::1%lo0 link#3 UHL lo0 fe80::%tun0/64 fe80::220:78ff:fe0e:13d6%tun0 Uc tun0 fe80::220:78ff:fe0e:13d6%tun0 link#7 UHL lo0 ff01::/32 ::1 U lo0 ff02::%dc0/32 link#1 UC dc0 ff02::%lo0/32 ::1 UC lo0 ff02::%tun0/32 fe80::220:78ff:fe0e:13d6%tun0 UC tun0 __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message