Re: vlan issues with 7.0-RC3
- From: Pyun YongHyeon <pyunyh@xxxxxxxxx>
- Date: Tue, 26 Feb 2008 16:43:55 +0900
On Mon, Feb 25, 2008 at 01:17:12AM -0800, Christopher Cowart wrote:
Hello,
I have a mac mini running 7.0-RC3, which I'm trying to turn it into a
router. I have a Linksys SRW2008 "fully managed" (via an IE only web
interface, ick) switch.
Switch:
Port 1 - Trunk vlans 10,60,98 - FreeBSD Box
Port 7 - Access vlan 98 - Existing LAN (192.168.1.0/24)
OpenWRT (192.168.1.1):
WRT54G box on the Existing LAN
FreeBSD Box:
ifconfig msk0 up
ifconfig vlan98 create vlan 98 vlandev msk0 inet 192.168.1.67/24
With this configuration, I can ping hosts on the other lan segment (Port
7). Arp and icmp seem to be quite happy. Unfortunately, I'm not having
any luck with tcp and udp. Any attempt to ssh to OpenWRT or dig
@OpenWRT hangs indefinitely. If I do a tcpdump, I see the SYN or A?
leaving and absolutely no response returning. If I run a tcpdump on
OpenWRT, I see no incoming traffic.
When I try to connect *to* the FreeBSD box from the other lan segment, I
continue to have problems. tcpdump shows the SYNs arriving via vlan98
and the FreeBSD box responding with SYN-ACK. OpenWRT receives the SYNACK.
I disabled ipfw just to be sure (sysctl -w net.inet.ip.fw.enable=0), but
it had no effect on the problem. If I connect the FreeBSD box to a vlan
98 access port and assign the address to msk0, my connectivity problems
go away. This leads me to believe that the firewall on OpenWRT is not
the problem and the problem is related to vlans.
Thinking it was a problem with the not-so-cheap Linksys POS (bitterness
about the IE web interface again), I plugged my MacBook (running
Leopard, not FreeBSD) into the trunk port. Running the ifconfig commands
above (s/msk0/en0/), I got up and running without any problems. This
causes me to suspect the FreeBSD box.
Does anyone have any idea what's going on here? Any suggestions for
further troubleshooting?
Try disabling hardware features one by one in msk(4) and see how
it goes.
o Disable TSO.
o Disable Tx checksum offload.
o Disable VLAN hardware tagging.
--
Regards,
Pyun YongHyeon
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: vlan issues with 7.0-RC3
- From: Christopher Cowart
- Re: vlan issues with 7.0-RC3
- References:
- vlan issues with 7.0-RC3
- From: Christopher Cowart
- vlan issues with 7.0-RC3
- Prev by Date: Re: question about change in inet_ntoa.c
- Next by Date: IPv6 in Jail
- Previous by thread: vlan issues with 7.0-RC3
- Next by thread: Re: vlan issues with 7.0-RC3
- Index(es):
Relevant Pages
- Re: vlan issues with 7.0-RC3
... Any attempt to ssh to OpenWRT or dig ... If I do a tcpdump, I see the
SYN or A? ... When I try to connect *to* the FreeBSD box from the other lan segment, ...
Try disabling hardware features one by one in mskand see how ... (freebsd-net) - Re: vlan issues with 7.0-RC3
... Any attempt to ssh to OpenWRT or dig ... When I try to connect *to* the FreeBSD
box from the other lan segment, ... Thinking it was a problem with the not-so-cheap Linksys
POS (bitterness ... Try disabling hardware features one by one in mskand see how ...
(freebsd-net) - vlan issues with 7.0-RC3
... Any attempt to ssh to OpenWRT or dig ... If I do a tcpdump, I see the
SYN or A? ... When I try to connect *to* the FreeBSD box from the other lan segment, ...
Thinking it was a problem with the not-so-cheap Linksys POS (bitterness ... (freebsd-net) - Re: Contributing to FreeBSD documentation (was: Re: no ath0 on new system with good card)
... > freebsd site. ... IIRC it is mentioned in the Developer's Handbook,
... documentation people hang out. ... The primary method of disabling drivers
... (freebsd-questions) - Re: no ath0 on new system with good card
... which doesn't show up anywhere on the freebsd site. ... Further, I'd like to
write a handbook page on "freebsd and laptops", ... Can you try disabling this controller
and see if ... In "safe mode" ACPI is disabled, and this may be why your cbb0 ...
(freebsd-questions)