nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

eth0.1 vlan linux config command

This is a discussion on eth0.1 vlan linux config command within the Linux software forums, part of the Linux Getting Started category; hi! does anyone knows which command i need to use to config eth0.1 interface vlan linux??? Please reply, ASAP as ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-18-2006, 02:40 AM
chimu's Avatar
Contributors
User
 
Join Date: Mar 2005
My distro: Ubuntu
Posts: 33
Rep Power: 0
chimu is an unknown quantity at this point
Default eth0.1 vlan linux config command

hi!

does anyone knows which command i need to use to config eth0.1 interface vlan linux???

Please reply, ASAP as i need to setup it

regards
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-19-2006, 11:44 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Command is vconfig and add ip using ifconfig command:
Code:
vconfig add eth0 1
ifconfig eth0.1 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255 up
Please note that VLAN ID 1 may be used for admin purpose so you better use VLAN ID 2 or above

See VLAN howto for more : http://www.cyberciti.biz/tips/howto-...work-vlan.html
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux vlan configuration unixfoo Networking, Firewalls and Security 0 12-28-2007 11:56 AM
how to rename eth0 to eth1 deltamails Networking, Firewalls and Security 1 09-24-2007 08:53 PM
rhce-config-4.0-0.55.noarch.rpm gangadharbk Linux software 1 11-23-2006 03:38 AM
Device eth0 does not seem to be present error and solution jerry Linux software 1 06-20-2006 06:07 PM
iptables config 6881 Linux software 1 01-28-2006 12:23 PM


All times are GMT +5.5. The time now is 03:57 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36