Vlans + subinterfaces on RH9.0
I have config on the hosting server like this
[root@server001 root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:A0:C9:B3:CD:EA UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1341634 errors:17 dropped:0 overruns:0 frame:17 TX packets:2092344 errors:8 dropped:0 overruns:0 carrier:8 collisions:164 txqueuelen:100 RX bytes:134503837 (128.2 Mb) TX bytes:2730591551 (2604.0 Mb) Interrupt:10 Base address:0xff80 Memory:fe2ff000-fe2ff038 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:191011 errors:0 dropped:0 overruns:0 frame:0 TX packets:191011 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:62813652 (59.9 Mb) TX bytes:62813652 (59.9 Mb) vlan500 Link encap:Ethernet HWaddr 00:A0:C9:B3:CD:EA inet addr:x.x.x.68 Bcast:x.x.x.79 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18278 errors:0 dropped:0 overruns:0 frame:0 TX packets:35323 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1840438 (1.7 Mb) TX bytes:24089424 (22.9 Mb) vlan500:0 Link encap:Ethernet HWaddr 00:A0:C9:B3:CD:EA inet addr:x.x.x.69 Bcast:x.x.x.79 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18279 errors:0 dropped:0 overruns:0 frame:0 TX packets:35326 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1840494 (1.7 Mb) TX bytes:24090722 (22.9 Mb) vlan500:1 Link encap:Ethernet HWaddr 00:A0:C9:B3:CD:EA inet addr:x.x.x.73 Bcast:x.x.x.79 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18279 errors:0 dropped:0 overruns:0 frame:0 TX packets:35326 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1840494 (1.7 Mb) TX bytes:24090722 (22.9 Mb) vlan500:2 Link encap:Ethernet HWaddr 00:A0:C9:B3:CD:EA inet addr:x.x.x.70 Bcast:x.x.x.79 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18281 errors:0 dropped:0 overruns:0 frame:0 TX packets:35329 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1840606 (1.7 Mb) TX bytes:24092164 (22.9 Mb) [root@server001 root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface x.x.x.64 * 255.255.255.240 U 0 0 0 vlan500 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default x.x.x.65 0.0.0.0 UG 0 0 0 vlan500 [root@server001 root]# obviously port on the switch in trunk mode everything works except uploading files via ftp or sftp it "stalles". In fact very small files can be uploaded (up to about 50K). SSH itself works just fine, and sftp commands work just fine (like pwd or ls or cd, etc.) about the same config on another box works great including uploads. In fact other box serves in to two vlans on completely different subnets (internal and external) with two different gateways. For those how will offer subinterfaces: It is running on those now, but I ran out of IPs in this subnet so I have to add vlan support. Any ideas why transfers does not work? For those who interested below is the config from the box that works just fine: [root@server002 root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:03:47:1E:82:79 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:44801 errors:0 dropped:0 overruns:0 frame:0 TX packets:3719 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:21874217 (20.8 Mb) TX bytes:430862 (420.7 Kb) Interrupt:10 Base address:0xde80 Memory:ff8ef000-ff8ef038 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:40 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:10746 (10.4 Kb) TX bytes:10746 (10.4 Kb) vlan10 Link encap:Ethernet HWaddr 00:03:47:1E:82:79 inet addr:172.25.1.240 Bcast:172.25.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:25215 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3713638 (3.5 Mb) TX bytes:1148 (1.1 Kb) vlan800 Link encap:Ethernet HWaddr 00:03:47:1E:82:79 inet addr:x.x.x.196 Bcast:x.x.x.207 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18962 errors:0 dropped:0 overruns:0 frame:0 TX packets:3720 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18114301 (17.2 Mb) TX bytes:429630 (419.5 Kb) [root@server002 root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface x.x.x.192 * 255.255.255.240 U 0 0 0 vlan800 172.25.1.0 * 255.255.255.0 U 0 0 0 vlan10 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default * 255.0.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 172.25.1.2 0.0.0.0 UG 0 0 0 vlan10 default x.x.x.193 0.0.0.0 UG 0 0 0 vlan800 [root@server002 root]# I even tried to add 3 subinterfaces on vlan800 interface, still works. I am clueless :Pengy: Nothing in dmesg or any other logs, sniffing with ethereal shows that no replies are coming back, and uploading host is trying to retransmit all the time Thanks, Any help is deeply appreciated. |
All times are GMT -5. The time now is 12:42 PM. |