Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-21-2014, 11:09 PM   #1
LQ Newbie
Registered: Jun 2014
Posts: 26

Rep: Reputation: Disabled
why my VLAN users are unable to ping outside

Dear All,

why my VLAN users are unable to ping outside (ie. ping or ping

Squid box is:

Eth0 --> gateway to

my physical net is

and my VLAN is
my VLAN users gateway to

please help

thanks a lot in advance
Old 07-22-2014, 05:12 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
You can traceroute and check from where its getting rejected. Also check iptables

Old 07-22-2014, 10:21 AM   #3
LQ Newbie
Registered: Jun 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
it is not rejected.. it stays at, it seems like it does not know where to go..

need help

Old 07-22-2014, 01:11 PM   #4
LQ Newbie
Registered: Jan 2009
Posts: 20

Rep: Reputation: 3
Is the forwarding enabled? check the value of /proc/sys/net/ipv4/ip_forward, it should be in 1 for it to work.

Also, check that you are allowing the forwarding of packets via iptables. Maybe you have firewall rule rejecting or dropping the network packages.

as root: # iptables -nvL FORWARD

Finally, if you are forwarding everything, check that you are either masquerading or applying a source nat to the outgoing traffic in your internet interface.

as root: # iptables -t nat -nvL POSTROUTING
Old 07-22-2014, 02:49 PM   #5
Registered: Mar 2008
Posts: 16,489

Rep: Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412
A vlan tends to be used to secure a connection. What you are now asking it to do is un-vlan it. lsalab may have correct idea or similar solution.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to ping/ssh/connect channel bonding from different VLAN albie17 Linux - Networking 10 03-01-2011 01:47 AM
RHEL4.5: Can't ping VLAN IP on same network/subnet yujinn Linux - Newbie 1 08-03-2009 06:30 AM
Unable to ping : ping: unknown host PKumar Linux - Networking 4 10-31-2007 12:43 AM
Unable to use wget and unable to ping machine from external source grunshaw Linux - Networking 3 10-24-2006 08:46 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM

All times are GMT -5. The time now is 03:20 PM.

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