nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

debian netinstall select vlanID from trunk

This is a discussion on debian netinstall select vlanID from trunk within the Ubuntu / Debian forums, part of the Linux Distribution category; Hello, i have a server which receives 5 different vlans on its NIC. I need to reinstall that server and ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-04-2009, 04:13 PM
permalac's Avatar
Member
User
 
Join Date: May 2008
Location: barcelona
OS: debian,opensuse,opensolaris,centos,fedora,backtrack
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
permalac is on a distinguished road
Default debian netinstall select vlanID from trunk

Hello,

i have a server which receives 5 different vlans on its NIC.

I need to reinstall that server and I have the debian netinstall on it's cdrom. I connect to the server through a DRAC5 (or service network).

Here is the problem:

to get the software the software from the network I need the eth1 up and running but I can not manage to make it, I guess is because of more than one vlan are present on that NIC.

How I can set a vlanID on the netinstall to be able to connect and download the packages?



many thanks.
Reply With Quote
  #2 (permalink)  
Old 29-04-2009, 07:45 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

VLAN support avilable in kernel but vlan package is not installed using netinstaller. Net installer will get it when you have working network ... heh .. it looks a bit tricky to me; but you can use floopy or usb to load that package or binary ( Debian -- Package Search Results -- vlan ) while installer is running (hit alt+f2 or ctrl+alt+f2 to get a shell ) then copy binary and try something as follows using shell:
Code:
iface eth1.10 inet dhcp
iface eth1.10 inet ip.add.ress. net.mask
ping gate.way.ip
ping ftp.debian.org
This will configure an interface named "eth1.10", using the physical link connected on "eth1" and tagging packets with VLANID 10.

Also, this was requested couple of times on official Debian site ago but never got implemented.

HTH
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help

Last edited by nixcraft; 29-04-2009 at 07:48 PM.
Reply With Quote
  #3 (permalink)  
Old 30-04-2009, 04:47 PM
permalac's Avatar
Member
User
 
Join Date: May 2008
Location: barcelona
OS: debian,opensuse,opensolaris,centos,fedora,backtrack
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
permalac is on a distinguished road
Default

On debian etch :

#iface not found




I'll try with lenny.
Reply With Quote
  #4 (permalink)  
Old 30-04-2009, 07:46 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Actually you need to use ifconfig and vconfig (from vlan package):
Code:
vconfig add eth1 10
ifconfig eth1.10 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255 up
See: Howto: Configure Linux Virtual Local Area Network (VLAN)
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 05-05-2009, 04:11 PM
permalac's Avatar
Member
User
 
Join Date: May 2008
Location: barcelona
OS: debian,opensuse,opensolaris,centos,fedora,backtrack
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
permalac is on a distinguished road
Default

Many thanks.

The article that you link is very interesting.



(I was trying to edit the thread subjet but there is no chance to edit the first post to add [solved])

Last edited by permalac; 05-05-2009 at 04:13 PM.
Reply With Quote
  #6 (permalink)  
Old 05-05-2009, 04:58 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Marked thread as solved.

PS: You have to click on Thread Tools > Edit thread > Add Prefix.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #7 (permalink)  
Old 06-05-2009, 05:24 PM
permalac's Avatar
Member
User
 
Join Date: May 2008
Location: barcelona
OS: debian,opensuse,opensolaris,centos,fedora,backtrack
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
permalac is on a distinguished road
Default

I can not see it.

This are the options I get from threat tools:

Show Printable Version Email this Page Unsubscribe from this Thread Add a Poll to this Thread
Reply With Quote
  #8 (permalink)  
Old 10-05-2009, 04:29 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Sorry about that.. it comes under Edit button. Can you see edit button and edit thread to add solved prefix?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #9 (permalink)  
Old 10-05-2009, 04:42 AM
permalac's Avatar
Member
User
 
Join Date: May 2008
Location: barcelona
OS: debian,opensuse,opensolaris,centos,fedora,backtrack
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
permalac is on a distinguished road
Default

No, I don't see it. :/

This is what i get after clicking the edit button, i hope it can help.

bayimg - image: Screenshot-2.png - free uncensored image hosting
Reply With Quote
Reply

Tags
debian netinstall vlan , debian vlan , vlan netinstall


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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Mail server on debian RamPD Ubuntu / Debian 3 12-06-2008 09:25 PM
iptables under debian ricc Linux software 1 22-04-2007 08:26 PM
Debian d-link dwl 510 configuration chimu Linux hardware 0 26-01-2007 07:15 PM
Select specific rows c341 Shell scripting 6 18-01-2007 02:04 AM
Mysql how to specify select columns raj Databases servers 2 19-12-2006 01:23 AM


All times are GMT +5.5. The time now is 06:16 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38