em0, VLAN and bpf(?) trouble w/RELENG_5

astesin at ukrtelecom.net astesin at ukrtelecom.net
Tue Nov 9 22:20:14 PST 2004


> If you do
> ifconfig em0
> 
> what options does it show ?

bash-2.05b# ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 172.16.17.18 netmask 0xffffffe0 broadcast 172.16.17.31
        inet6 fe80::20c:f1ff:feed:9c56%em0 prefixlen 64 scopeid 0x1
        ether 00:0c:f1:ed:9c:56
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
bash-2.05b# uname -v
FreeBSD 5.3-STABLE #5: Mon Nov  8 17:36:38 EET 2004
root at host.na.me:/usr/obj/usr/src/sys/ALPH
bash-2.05b#

> # ifconfig em0
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
>          inet 10.1.1.2 netmask 0xfffffffc broadcast 10.1.1.3
>          ether 00:01:80:54:b8:df
>          media: Ethernet autoselect (1000baseTX <full-duplex>)
>          status: active
> #
> 
> Is vlan_mtu there ?

Yes, as far as I can see

> Also, when you create the vlan interface, what options do you use to
create it ?

bash-2.05b# grep vlan0 /etc/rc.conf
cloned_interfaces="vlan0 vlan1 vlan2 vlan3 vlan4 vlan5 gif0"
ifconfig_vlan0="inet 10.9.8.186 netmask 0xfffffffc vlan 850 vlandev em0 mtu
1500"
bash-2.05b#

> I am using 5.3-STABLE FreeBSD 5.3-STABLE #1: Tue Nov  9 13:11:18 EST 
> 2004  and it works with large frames.

Ok I'm starting a make update & ... now...

>          ---Mike 

WBR,
Andrew


More information about the freebsd-current mailing list