vlan support trouble in if_sis driver ?
Vladimir Ermakov
samflanker at gmail.com
Fri Dec 5 06:10:50 PST 2008
Hello
Using sis card (SiS 900)
sis0: <SiS 900 10/100BaseTX> port 0xe800-0xe8ff mem
0xed160000-0xed160fff irq 19 at device 4.0 on pci0
# uname -a
FreeBSD damask 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
# netstat -bin
Name Mtu Network Address Ipkts Ierrs Ibytes
Opkts Oerrs Obytes Coll
sis0 1500 <Link#1> 00:0d:61:xx:xx:xx 356 4
40934 155 0 29276 0
em0 1500 <Link#2> 00:02:55:xx:xx:xx 0 0
0 0 0 0 0
lo0 16384 <Link#3> 0 0
0 0 0 0 0
lo0 16384 fe80:3::1/64 fe80:3::1 0 -
0 0 - 0 -
lo0 16384 ::1/128 ::1 0 -
0 0 - 0 -
lo0 16384 127.0.0.0/8 127.0.0.1 0 -
0 0 - 0 -
vlan0 1500 <Link#4> 00:02:55:xx:xx:xx 0 0
0 0 0 0 0
vlan1 1500 <Link#5> 00:0d:61:xx:xx:xx 255 0
29543 155 0 28656 0
# ifconfig sis0
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:0d:61:xx:xx:xx
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
# ifconfig vlan1
vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:0d:61:xx:xx:xx
inet 192.168.1.221 netmask 0xffffff80 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vlan: 12 parent interface: sis0
noticed the following troubles with using interface vlan1 (vlandev sis0):
- can not download a file using fget tool
- increases Ierrs on the physical interface sis0
this bug in if_sis driver ?
/Vladimir Ermakov
More information about the freebsd-net
mailing list