I have D-Link 2500U in Bridge mode, FreeBSD 7.3 and trying to establish connection with internet.
ppp.conf
resolv.conf
if config shows that htere a re no default route, but when I try to add route, BSD says:
when I try ppp -ddial I recieve:
when I switch off/on router It shows arp conflict
I guess it's because of the same IP for router ant vr0(interface where routrer is pluged in) but in handbook written that I shall assign router IP to net interface to which my router is plugged in, so I don't know what to do.
I have dynamic IP address, and recieve IP and host configuration from provider - how can I declare it to BSD? I thougth that it would be enough just set router in routing mode and it recieve all settings from provider and then send it to FreeBSD but it didn't work for me.
I will be very grateful for any help from you guys.
ppp.conf
Code:
default:
set log Phase tun command
set ifaddr 0 0
wstream:
set device PPPoE:vr0
set authname login
set authkey pass
set dial
set login
add default HISADDR
resolv.conf
Code:
nameserver provider dns1
nameserver provider dns2
if config shows that htere a re no default route, but when I try to add route, BSD says:
Code:
route add 192.168.1.1 default
route: writing to routing socket: Network is unreachable
add host 192.168.1.1 gateway default: Network is unreachable
when I try ppp -ddial I recieve:
Code:
Warning: attempt to net_addr_domain(netgraph) after domainfinalize()
Code:
bsd kernel: arp: mac-Ð°Ð´Ñ€ÐµÑ is using my IP address 192.168.1.1 on vr0
I have dynamic IP address, and recieve IP and host configuration from provider - how can I declare it to BSD? I thougth that it would be enough just set router in routing mode and it recieve all settings from provider and then send it to FreeBSD but it didn't work for me.
I will be very grateful for any help from you guys.