Slackware :: Bridging Two Network Interfaces On The Same Motherboard?

Oct 5, 2010

Just recently set up a Slackware 13.1 partition. I'm really enjoying how it works so far, but I have one problem I just can't seem to find the right solution to, and was hoping for some assistance. Here is the basic setup. The Slackware box has eth0 connected to my wired router, and eth1 goes to an xbox running Xbmc. What I require is that the Xbox gets it's own DHCP IP from the router. In other versions of Linux I accomplish this by using bridge-utils. In Arch Linux I accomplish this by having this in /etc/rc.conf:

Code:
eth0="eth0 up"
eth1="eth1 up"
br0="dhcp"
INTERFACES=(lo eth0 eth1 br0)
and this in /etc/conf.d/bridges:

[Code]...

I know I'm close here, but I just can't get it to bring the network up with the bridge by restarting the networking, or rebooting.

View 9 Replies


ADVERTISEMENT

General :: Bridging Network Interfaces Hangs On Getting IP

Aug 14, 2011

I have two physical NICs (eth2 & eth3) with eth2 connecting to the home router/dhcp server and eth3 connecting to another machine which needs access to the internet. I'm trying to create a bridge so that the second machine on eth3 can be connected on the lan. I've tried the following, however it hangs when attempting to get an IP address from the router. Likewise, attempting to give it a static route doesn't seem to work either.

$ sudo aptitude install bridge-utils
$ sudo ifconfig eth2 down
$ sudo ifconfig eth3 down
$ sudo brctl addbr br0
$ sudo brctl addif br0 eth2 eth3
$ sudo dhclient br0 # this hangs and fails to get a dhcp address

I've tried to ensure my routing table mimics what it looks like when using eth2 normally, I cannot hit the gateway at all.

$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 br0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 br0

I attempted an 'arping' to the MAC address of the router while I had eth2/3 bridged, but it failed to obtain it's IP address as well. One interesting thing I noticed was that attempting to bring down the bridge & reactivate my internet on eth2, I was having trouble pinging the gateway. It turned out 'ipmasq' had been installed and was running causing odd problems. When I stopped the ipmasq service, my internet started working properly again. I removed the 'ipmasq' package entirely and tried bridging the NICs again thinking it may have been causing problems, but it still failed.

View 1 Replies View Related

Slackware :: Vbox Brakes 1 Of 2 Network Interfaces?

Mar 22, 2011

I am trying to setup a virtual machine on virtualbox on slack64 13.1. It's purpose is to be gateway pc, so the vm's are only gonna be here until a VM server will be setup - but that could easily complete after 2 months. The test-phase setup is that this gw () is part of the internal network and I have only attached 1-2 clients that it serves (ie these clients belong to a 2nd level internal network). I do most of the setup by ssh'ing from the INET if (my pc is also part of the internal network and not of the 2nd level one).

As fas as my vm in vbox is concerned, I have setup a bridged connection to eth0 (the LOCAL if), since I'm gonna be running a printer server out of that vm (so NAT'ing would perplex the setup) The problem is that all of a sudden, when virtualbox is running the INET if gets broken, and I lose connection to the gw, from the INET side only! the LOCAL if is still working, the 2nd level clients are working fine. Locally, I can do

[Code]...

I doesn't occur when I do something specific but it is a frequent crash nevertheless. I can push my luck too; from the INET side of the gw I had :-an ssh session open, -an X session open - so that I could have access to the gui of virtualbox application and my running vm. -an ssh tunnel on port 139 in order to bypass the gw's firewall and get access to some samba shares on the gw. I tried 3 times to copy a 2GB iso image from my pc to the gw and all 3 times the INET if broke. Finally, if i disable start up of the virtualbox and restart the machine, the problem doesn't occur.. (i'm 16h without virtualbox and the INET if hasn't broken - the same was true before I started setting up my vm).Has anyone experienced problems with virtualbox and the physical interfaces? Especially when using bridged virtual interfaces?

View 4 Replies View Related

Ubuntu Networking :: Adding Interfaces To /etc/network/interfaces?

Apr 16, 2010

If I try to add a new interface (eth1) to /etc/network/interfaces, I get

Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

How do I add 2 interfaces and get anyone of them to work, as available ?

View 5 Replies View Related

OpenSUSE Network :: Xen Networking Without Bridging

Mar 5, 2010

you can do secondary interfaces (virtual interfaces?) for your virtual machines (domU's) and not loose your eth0 to the bridge. Is there documentaion on Xen in OpenSUSE without bridging?

View 6 Replies View Related

Ubuntu :: 10.10 - Apache ETC And Network Bridging

Feb 24, 2011

I'm a web developer etc. Came from using Windows - Love Ubuntu, alot. I installed Apache, PHP5, MySQL etc. Where can I access the htdocs? I've searched everywhere for the index file, but I cannot seem to find it. Now, my second question is. How can I bridge my connection from my wireless to my xbox 360? It was relatively easy on Windows 7 (however it is my native OS, had it since I was a kid). But since I'm new (today) to Ubuntu, I have no Clue What to do.

Also, the dns servers are like, 10.x.x.x.x - However on my router it's 192.168.2.1, for both 1 and 2. On my xbox, when I had it bridged from my laptop to my xbox (on 7), it worked fine while manually setting ip and DNS servers to that of my laptop, however if I use the same settings for my xbox with Ubuntu, it will say can't connect using a static IP, then when I auto define the settings, the IP works etc, but the DNS servers cannot communicate with xbox.com. (Even if I leave them as 192.168.2.1).

View 2 Replies View Related

Debian Configuration :: Network Namespace Bridging

Jan 27, 2016

My task is to create network namespace, so it can be used to perform some other tasks from it.

Debian 8.2 is used in VMWare virtual machine on windows 7. I have also tried same things with Raspbian on Raspberry Pi 2, but same problems appear.

First, i have followed tutorial https://lwn.net/Articles/580893/ to create pair of virtual ethernet interfaces.

Now i have veth0 in global namespace with ip address 10.1.1.2/24, and veth1 in netns1 namespace with ip address 10.1.1.1/24, and i was able to ping each one from another

Next, i have followed tutorial [URL] ..... to bridge eth0 and veth0, so i can access internet from netns1 namespace.

- First, i have deleted ip addresses for both eth0 and veth0
interfaces, and set them do DOWN state.
- New bridge is created (br0) and both interfaces (eth0 and veth0) are
added to it.
- Then both interfaces are set to UP state, and i run "dhclient br0" to
assign ip address to br0.

From global namespace now it is possible to run "ping google.com" (and br0 interface is used), but from netns1 namespace i get error "Network is unreachable".

$ ip addr show
Code: Select all    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
 
[CODE]....

View 2 Replies View Related

Fedora Networking :: Does Network Manager In F15 Support Bridging

Aug 24, 2011

does Network Manager in Fedora 15 support bridging and if so, can you configure the bridge using your wireless interface? All of the information I've come across so far said that you can NOT create a bridge using a wireless interface, and that Network Manager doesn't support bridging, but this info was also from Fedora 12 and below, so I don't know if it's still relevant for Fedora 15. I would certainly hope that by now you can make a bridge from a wireless interface. Even the lowly VMware Player offers this option.

View 2 Replies View Related

CentOS 5 Networking :: Network Bridging MAC Conflicts In KVM After System Rebuild?

Mar 24, 2011

After restoring from a hardware failure, I cannot get bridging to work again. I reinstalled the host version 5.5, and copied the .img file back onto the rebuilt machine. I also had the network scripts and iptables backed up. Through virt-manager I re-attached the virtual machine, and when I boot it, I get a MAC address conflict on the vm's eth0; "Device eth0 has a different MAC address than expected". The vm had a static ip address.

[root@trngvh ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:24:81:E4:FC:02

[code]....

View 10 Replies View Related

Fedora Networking :: Setup The Network Scripts To Create Two Network Interfaces For Vlan X And Y?

Apr 7, 2009

Using Fedora 10, can anyone tell me how to setup the network scripts to create two network interfaces for vlan x and y. Both interfaces should obtain an ip from dhcp and both interfaces should run over eth0.

View 2 Replies View Related

OpenSUSE Network :: Network Manager Default Connection Can Handle Virtual Interfaces?

Jun 7, 2011

I've not found how to configure more than one ip address with network manager.Nor with kde nor with plasmoid network manager.I need several virtual ip addresses for eth0 when the "default" of eth0 is connected i.e. "Connected to Auto eth0" should initialize the virtual interfaces.I have not found no even how to configure the ip address.I think this will be used from ifup config in yast or not?There I have the virtual interfaces but they are not taken from network manager.And last but no least: Is it possible that when using network manager the eth0 is enabled even no user has logged in?

View 4 Replies View Related

Red Hat :: Networking - Setup Network Scripts To Create Two Network Interfaces For Vlan X And Y

Apr 7, 2009

Can anyone tell me how to setup the network scripts to create two network interfaces for vlan x and y. Both interfaces should obtain an ip from dhcp and both interfaces should run over eth0.

View 4 Replies View Related

OpenSUSE Network :: Can't Get Interfaces To Come Up Without IPs

Apr 19, 2010

I'm trying to configure OpenSuSE 11.2 with Open vSwitch, and I'm having trouble getting various interfaces to come up automatically when I have bootmode set to "none." startmode is set to auto (or on - tried both), and bootmode set to none, with no IP address assigned in the file. At boot time, I get the message that it's bringing up eth0, for example, but when I log in and check, the interface is not up. Also, if I try "ifup eth0", I get the following output:

xen-users:~ # ifup eth0
eth0 device: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)

but the interface is not brought up. why SuSE is saying that it's bringing up the interface successfully, but is actually not bringing it up?

View 1 Replies View Related

General :: Get Wvdial To Run From /etc/network/interfaces?

Dec 23, 2010

I am using wvdial to connect to a mobile network (I have a usb modem) and it works fine. However, I wanted to automate the connection a bit (currently I am running wvdial every time I want to connect). I was wandering if there is a way to add this network to /etc/network/interfaces (in a truly Debian way) to have it connect on startup and/or whenever I connect my modem.

View 1 Replies View Related

General :: Set Up Routing Over Two Network Interfaces

Sep 9, 2011

I'm often on my corporate network but also need to be on another network simultaneously. At the moment I have to manually switch back and forth between the two. I'm using ubuntu 10.04. I've come across an excellent document that explains how to do this: "Linux Advanced Routing & Traffic Control HOWTO" by Bart Hubert. He mentions:

make sure that your kernel is compiled with the "IP: advanced router" and "IP: policy routing" features

I've downloaded the kernel sources, but I don't find any config options with names like these in them.

sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
sudo apt-get source linux-image-$(uname -r)

Searching doesn't reveal anything

~/kernelBuild/linux-2.6.35/debian.master$ grep -iR policy . | grep -i routing
~/kernelBuild/linux-2.6.35/debian.master$

So my question is...how can I tell if the kernel I have has these config options. Failing that, how do I build a kernel that does support these things?

Additional use cases for this knowledge. (1) At work with desktop computer plugged into corporate network. Plug 3g phone into USB port. My corporate network wont allow me to access my external servers over ssh, but the 3g phone will. (2) At home on the corporate VPN, but would like to access my other local network computers.

View 1 Replies View Related

General :: How To Know Network Interfaces Under Ubuntu 11.04

Sep 9, 2011

When I run cat /etc/network/interfaces in Ubuntu 11.04 I get the below output.
auto lo
iface lo inet loopback
I don't see the eth0 or eth1 interfaces, but I am able to see them in the Network Tools application. How do I configure the eth0 and eth1 from command line?

View 2 Replies View Related

Ubuntu :: Installing The Two Network Interfaces?

Feb 26, 2010

On my desktop having a NIC 3Com, connected to the company intranet and correctly working, I have added a second NIC ( Realtek RTL-8139) to connect a second small network ( three devices, instrumentation) using static addressing.The new board seems to be rekognized by Ubuntu, indicating "auto eth1" in the Network connections dialog. When I try to configure the connection, the "Apply" button is always disabled, therefore I cannot activate it. The command lspci shows that the board has been recognized but when i sent the

lshw -c network

the response is:

*-network:0 DISABLED
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.

[code]...

View 1 Replies View Related

Ubuntu :: Using The /etc/network/interfaces File

Apr 25, 2010

I am trying to set the interfaces file to connect to my wireless network. Here is my interfaces file...

Code: auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static

[Code]....

View 4 Replies View Related

Ubuntu :: Network Interfaces Configuration?

Oct 23, 2010

I have a weird problem with my /etc/network/interfaces configuration. I have the most simple static setup possible: Code: # cat /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0

[code]....

View 1 Replies View Related

Debian :: Still Can't Reload Network Interfaces?

Mar 24, 2011

So I've always asked this in the past when I get on a Debian system. This makes no sense to me but I just don't see how I restart network interfaces (i.e. eth0) on a standard Debian install. If I change the static I.P. address listed in /etc/network/interfaces from x.x.x.100 to x.x.x.101, I then assume I can simply do any of the following:

- /etc/init.d/networking stop | start
- ifdown eth0
- ifup eth0
- service networking stop
- service networking start

All the commands above do nothing. My only solution I know that works and implements the changes I've made is a complete system reboot which to me in Linux, is ridiculous. I've struggled with this over and over and nothing I do correctly assigns the new I.P. in the 'interfaces' file to the actual adapter. This isn't my single isolated Debian machine but every Debian machine I can get my hands on. Servers, workstations, VM's, any release, etc etc etc. Below is my interfaces configuration file:

Code:
auto lo
iface lo inet loopback

[code]...

View 5 Replies View Related

Networking :: Network Interfaces Is Not Configured?

Sep 29, 2010

I have installed Debian 5 and dident configure the network interfaces at installation.Now i am not able to connect to the internet through Ethernet or Wireless. How do i configure the interfaces after installation ?PS. the interfaces show up as "Not configured" in the network manager

View 5 Replies View Related

Programming :: Print Out Network Interfaces

Feb 3, 2010

how do i combine these two lines to output all network interfaces on my machine?

View 1 Replies View Related

Ubuntu Networking :: ADVISEADDR: Error In Specifying Interfaces: No Existing Ip Interfaces Found

Jan 7, 2010

I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.

It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"

Code:

ADVISEADDR:error in specifying interfaces: no existing ip interfaces found

#lspci

Code:

04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network

[code].....

View 5 Replies View Related

CentOS 5 Networking :: Reinstall Network Driver After Changing Motherboard?

Jan 17, 2010

I have a newly installed CentOS 5.4 on Gigabyte G31M-ES2C, I had to change the motherboard since it has some problems. Unfortunately the new motherboard is a rev 2.x board, which has a different onboard NIC (old one is RTL 8102E, new one is AR8132), so now my ethernet connection doesn't work anymore (no eth0 device), I assume I need to install a new driver for the AR8132? If so, what's the steps to do so?lspci shows Ethernet controller as: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)

View 3 Replies View Related

Fedora Networking :: Enable 3 Interfaces \ When Start One Interface The Another Interfaces Goes Down?

Jan 25, 2010

I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:

Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255

View 12 Replies View Related

Debian Configuration :: /etc/network/interfaces: Ra0 Or Wlan0?

Mar 30, 2010

I had one of those random system deaths, so reinstalled squeeze (daily netinst image I think...) on my eee 1000, which uses an rt2860 wireless chip. The new install only installed 2.6.32, which I had been avoiding using because of a few problems, including it dealing with networking slightly differently. I couldn't get it to work - even without encryption - using wicd. Having had a read of [URL]... , I had a look at /etc/network/interfaces, which read; This file describes the network interfaces available on your system and how to activate them. For more information, see interfaces(5).

[code]...

ra0 is now called wlan0, as far as I'm aware. I've read in several places that it is best to expunge this file of all references to wifi, so I removed the bottom section (after '# The primary network interface'). I still got nothing. However, if I go ahead and change the 'ra0's to 'wlan0's, it seems to work - wicd connects. Not very familiar with Debian (spent more time on SUSE. Drop your tomatoes - I like it. Any idea what is happening? Is what I'm doing wrong? Conversely, is the file wrong? Should it be reported? Against which package? Including any particular files?

View 2 Replies View Related

Debian Configuration :: How To Get /etc/network/interfaces To See Usb Wifi

Jun 16, 2010

I have a netgear wg111t that is running with ndiswrapper. It has an atheros chipset, but calling it ath0 didn't work.

Heres /etc/network/interface :

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo

iface lo inet loopback

View 6 Replies View Related

Fedora Networking :: What Happens With Multiple Network Interfaces

Apr 30, 2009

What traffic goes where? Why? Any bandwidth advantage? What if one goes down?

View 4 Replies View Related

Fedora :: Disable Network Interfaces For A Particular User?

May 15, 2011

I'd like to set up a restricted guest account which is not allowed to access any network interfaces. In particular, I don't want that user to access the internet either directly or through some network proxy, but I'd like my own account to still have normal internet access. How do I disable all network services for a particular account without affecting other accounts?

View 3 Replies View Related

General :: Route Different Applications Through Different Network Interfaces?

Jan 13, 2011

Is it possible to route different applications through different network interfaces?

Let's say (hypothetically) I want to route /usr/bin/thunderbird through vlan0 but /usr/bin/firefox through eth0.

Is there a way? And if so, is there a graphical tool for it as well?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved