FreeBSD 8.1
интерфейс vr0 нужно изменить mac что бы получить от провайдера ip по dhcp
pf
mac адрес меняется в start_if.vr0
Код: Выделить всё
ifconfig vr0 lladdr 00:1c:f0:00:61:f0
# BEFORE pf
Код: Выделить всё
/etc>rcorder /etc/rc.d/* | grep -E 'dh|pf'
/etc/rc.d/dhclient
/etc/rc.d/pfsync
/etc/rc.d/pflog
/etc/rc.d/pf
/etc>
а вот
dmesg -a
Код: Выделить всё
................................
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:1c:f0:00:61:f0
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
Creating and/or trimming log files
.
Starting syslogd.
Starting pflog.
pflog0: promiscuous mode enabled
Enabling pf
no IP address found for vr0
/etc/pf.conf:20:
could not parse host specification
no IP address found for vr0
/etc/pf.conf:22:
could not parse host specification
pfctl:
Syntax error in config file: pf rules not loaded
pf enabled
.
Starting devd.
Configuring keyboard:
keymap
.
Starting ums0 moused
.
rl0: link state changed to UP
DHCPREQUEST on vr0 to 255.255.255.255 port 67
DHCPACK from 94.xxx.xx.x
bound to 94.xxx.xx.xx -- renewal in 43200 seconds.
........