Date: Tue, 19 Mar 2002 23:40:16 -0800 (PST) From: Dave Banning <sky_tracker@yahoo.com> To: questions@freebsd.org Subject: change from dynamic to static problem Message-ID: <20020320074016.12123.qmail@web12801.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
<snip>
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu
1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8000<MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320074016.12123.qmail>
