LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2005, 04:49 PM   #1
homa2001
LQ Newbie
 
Registered: Feb 2005
Location: Madison, WI, USA
Distribution: SuSE, Red Hat
Posts: 22

Rep: Reputation: 15
Question 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

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arpwatch across VLANS? TotalDefiance Linux - Software 0 09-15-2005 10:19 AM
sniffing many vlans by arpwatch starbase_947 Linux - Networking 1 04-13-2005 11:08 AM
Emulation of vlans using DHCPD ??? ivanp Linux - Networking 5 07-19-2004 03:19 PM
creation of vlans Kike Linux - Networking 2 04-15-2004 02:12 AM
DHCP, VLANs and Linux cestor Linux - Networking 5 06-02-2002 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration