LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2009, 01:41 PM   #1
yujinn
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Question RHEL4.5: Can't ping VLAN IP on same network/subnet


The interface IP is the same subnet as the VLAN IP of the switch directly connected to it but RHEL server cannot ping it. The server can however ping the other servers connected to the same VLAN of the same subnet. Why is that?
I tried connecting a.. ehhrmm... windows machine to the switch, used an IP of the same subnet and I can ping the VLAN IP ok.


Interface details:
eth0 Link encap:Ethernet HWaddr 00:21:5E:74:83:B9
inet addr:10.251.47.169 Bcast:10.251.47.191 Mask:255.255.255.192
inet6 addr: fe80::221:5eff:fe74:83b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:101 errors:0 dropped:0 overruns:0 frame:0
TX packets:689 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32212 (31.4 KiB) TX bytes:90480 (88.3 KiB)
Interrupt:169 Memory:ce000000-ce012100

'route -n' output:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.251.47.0 0.0.0.0 255.255.255.240 U 0 0 0 eth1
10.251.47.128 0.0.0.0 255.255.255.192 U 0 0 0 eth0
10.251.21.0 10.251.47.190 255.255.255.0 UG 0 0 0 eth0
10.251.25.0 10.251.47.190 255.255.255.0 UG 0 0 0 eth0
172.16.140.0 172.17.1.254 255.255.255.0 UG 0 0 0 eth2
172.17.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2

'arp -a' output:
? (172.17.1.80) at 00:07:85:17:82:15 [ether] on eth2
? (172.17.1.254) at 00:21:59:CF:1B:80 [ether] on eth2
? (172.17.1.21) at 00:15:17:B0:72:28 [ether] on eth2
? (172.17.1.41) at 00:21:5E:70:1B:2E [ether] on eth2

eth2, 172.17.1.21, is connected to the same switch but on a different VLAN. Why is the connection of eth0 to switch not shown in arp -a?

I'm using a Juniper Ex4200, and the VLAN IP is 10.251.47.190. I cannot ping this IP but when I add it to the ARP table via "arp -s 10.251.47.190 <mac address of switch>", I can ping it.

And I can ping other servers connected to the same VLAN, e.g., 10.251.47.170.

I do not have to add the VLAN IP to the interface's ARP table all the time to be able to ping it don't I?? They're on the same subnet and directly connected!

Thanks in advance.

Last edited by yujinn; 08-02-2009 at 01:42 PM.
 
Old 08-03-2009, 06:30 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
is the iptables enabled on your RH box? Try iptables -F and then ping again.

If that still does not work then can you sniff the traffic using wireshark to see what is happening?

My thinking is that if you replaced the box with another and it worked i would say that the RH system is sending icmp traffic but that same traffic is being dropped when the response is returned to the RH system
 
  


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
Same subnet VLAN question? NaCo Linux - Networking 3 01-24-2009 11:21 AM
ISC dhcp3 (ver. 3.04) vlan setup giving out of improper subnet addresses Valkyr1e Linux - Server 1 07-26-2008 11:15 AM
VLAN vs Subnet - too many ambiguous answers online Meson Linux - Networking 5 04-09-2008 04:35 PM
Can ping subnet one way, but not the other ghight Linux - Networking 4 10-14-2005 09:00 AM
Can't ping any PC outside subnet mrpc_cambodia Red Hat 2 10-07-2004 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

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