b3d1
![]() |
|
|
|
|
|||||||
| Networking Network related discussions (including general TCP/IP stuff, routing, etc). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I would like to do the following on my FreeBSD 9.1 server:
The host's re0 interface is connected to a managed switch and configured as a trunk port. The host itself should be in VLAN 10 and get its IP address from a DHCP server. Then I have a couple of jails. Those should be in VLAN 20 and also get their IPs via DHCP. Is this possible and if yes then how? ![]() In the past I have used VIMAGE and the method described on http://druidbsd.sourceforge.net/vimage.shtml. |
|
#2
|
|||
|
|||
|
You could use ng_bridge and ng_eiface to create the virtual interfaces and run a DHCP client on each interface in the host. The jails could be started with setfib if their routing tables should conflict with the hosts. I can provide the rc script for this setup if you want to try it.
|
| The Following User Says Thank You to Crest For This Useful Post: | ||
donduq (December 19th, 2012) | ||
|
#4
|
|||
|
|||
|
Quote:
|
![]() |
| Tags |
| jail, networking, vimage, vlan |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vlan handling by FreeBSD 8.1 | bv_arvind | Networking | 2 | December 13th, 2011 20:08 |
| FreeBSD 8.1 realtek vlan | majls_files | Networking | 14 | August 31st, 2010 06:52 |
| [Solved] FreeBSD 8.0 and VLAN's | cata_melc | Networking | 4 | April 30th, 2010 13:10 |
| [Solved] Jail Vlan | michandr | Networking | 2 | April 19th, 2010 15:26 |
| 2 VLan +2 Jail - how can I set the default route ? | ricardopl | Networking | 1 | June 13th, 2009 05:46 |