LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-29-2010, 02:03 AM   #1
rajeevtyagi009
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
vlan


i have 2 nic in my linux on the first one has ISP given static ip on the other i have given another static ip now i have created another two vlan on second nic but i am not able to ping from another two vlan while i am able to ping from primary ip from second nic can any one suggest me.

isp ip
11.11.2..

local lan ip

eth0 is 192.168.1.1
eth0:1 is 192.168.2.1
eth0:2 is 192.168.3.1

i am able to ping 192.168.1.1 but not from 192.168.2.1 and 192.168.3.1

how can i ping from ip
 
Old 11-29-2010, 03:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Those are NOT vlan's, just aliased interfaces. If they were vlan's then you'd have associated a vlan tag with with, and the interface names would be in the form "eth0.1" not "eth0:1"
 
Old 11-30-2010, 11:17 PM   #3
rajeevtyagi009
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
linux

i have 2 nic in my linux on the first one has ISP given static ip on the other i have given another static ip now i have created another two vlan on second nic but i am not able to ping from another two vlan while i am able to ping from primary ip from second nic can any one suggest me.

isp ip
11.11.2..

local lan ip

eth0 is 192.168.1.1
eth0:1 is 192.168.2.1
eth0:2 is 192.168.3.1

i am able to ping 192.168.1.1 but not from 192.168.2.1 and 192.168.3.1

how can i ping from ip

if they are aliased interfaces then how can i creat vlan for my LAN

i want create 3 vlan on my Second nic and implement on my LAN basically i want to divide my lan in 3 way routing from my linux second nic.
 
Old 11-30-2010, 11:25 PM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,254

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
Have you bothered to search for 'create vlan' maybe add the word linux, distro or application you would like to use?
Google seems to returns heaps when I try this.
 
  


Reply


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
Route non-vlan packet to a vlan interface mic.sed Linux - Networking 2 04-23-2010 03:39 AM
VLan help on Cisco 870 to Linux vlan spide21 Linux - Networking 4 07-30-2009 09:20 AM
VLAN priyadarshan Linux - Networking 1 04-03-2009 09:40 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 03:51 AM
Vlan >G< Linux - Networking 3 06-29-2006 01:03 AM


All times are GMT -5. The time now is 08:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration