Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

network walkthrough request

Featured Replies

I've searched this forum and havent found any walkthrough on how to configure the virtual network invironment for xen in unraid.

 

could anyone by chance point me in the right direction or if so inclined to throw a walkthrough up on how to configure and create virtualized nics/switches in unraid/xen?

 

what I'm looking to do is dedicate a nic to funneling WAN to pfsense vm then a switch that connects all the other vm's/dom0 and the rest of my network to the LAN side of the pfsense vm.

any help would be HUGELY appreciated

 

UPDATE

I just found this http://lime-technology.com/forum/index.php?topic=31816.msg289782#msg289782 seems to explain ALMOST what I was looking for.

 

Is there a  to use brctl in a way that it will survive a reboot?

 

I set up pfsense with 2 nics on pass-through

  • Author

I set up pfsense with 2 nics on pass-through

I wish I could, unfortunately the system I'm running isn't vt-d capable.

 

Sent from my SCH-I605 using Tapatalk

 

 

In that case,  I have no idea if you can make it work out not.  You will l need to have at least a second Nic only for WAN.  As for the other one being virtual,  I guess technically it should work,  I just don't know though.  Have you tried it and you are just getting stuck at a certain point?

I faced a similar issue but reverted to passing through one NIC for WAN and using the bridge for local traffic.  The trouble I had was creating two VIF entry's in the config and creating a second bridge in XEN so gave up.

 

The bridge works fine and so far have had transfer speeds up to 320MB/s between SSD's.

 

 

  • Author

I have more than one nic on the system. My apologies for an unclear description, I have 3 nics available, just no idea how to allocate a different bridge for each nic.

 

Sent from my SCH-I605 using Tapatalk

 

 

  • Author

ok, created the 2nd and 3rd bridge through these lines in the go file

# xen bridge config

brctl delif xenbr0 eth0 eth1

### setup for eth0 & xenbr1

brctl addbr xenbr1

brctl stp xenbr1 on

brctl addif xenbr1 eth0

### setup for eth1 and xenbr2

brctl addbr xenbr2

brctl stp xenbr2 on

brctl addif xenbr2 eth1

xenbr0 is setup through the webui which automatically adds eth0 & eth1 hence the delif entries

 

went to test to see if it worked and realized that I honestly have no clue how to setup the cfg file for pfsense LOL here's what I'm using (it doesn't work at all)

 

name="pfsense"

bootloader='pygrub'

memory=512

vcpus=2

disk=['phy:/mnt/cache/domains/pfsense/pfsense.img,hda,w','phy:/mnt/cache/domains/pfsense/pfsense.iso,hdc:cdrom,r']

vif=['mac=00:16:3e:35:4t:88,bridge=xenbr1','mac=00:16:3e:36:3t:87,bridge=xenbr2']

boot="ncd"

vnc='1'

vnclisten='0.0.0.0'

vncpassword=''

  • Author

With the help of Smakovits I got the vm up and running, installed pfsense and.... now im back to the network config, added some lines to my go file in order to issue ip addresses to xenbr1 & xenbr2 which now looks like

 

# xen bridge config
brctl delif xenbr0 eth0 eth1
### setup for xenbr1
brctl addbr xenbr1
brctl stp xenbr1 on
brctl addif xenbr1 eth0
Ifconfig xenbr1 192.168.1.X  netmask 255.255.255.0
### setup for xenbr2
brctl addbr xenbr2
brctl stp xenbr2 on
brctl addif xenbr2 eth1
ifconfig xenbr2 10.0.0.X netmask 255.255.255.0

 

After reboot the nics traded identifiers though (ie used to be nic1=eth0 nic2=eth1 nic3=eth2, after reboot nic1=eth1 nic2=eth0 nic3=eth2) seems that with each reboot the nics get randomly given identities.

 

Anyone know of a work around for this, or perhaps going the brctl/ifconfig route isnt the way to go...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.