Sponsored Content
Special Forums IP Networking Linux bridge routing failing on Proxmox3.2/Debian7.0 Post 302913000 by OSSVirt on Wednesday 13th of August 2014 08:52:44 AM
Old 08-13-2014
Debian Linux bridge routing failing on Proxmox3.2/Debian7.0

I am having problems configuring bridged networking on Proxmox3.2/Debian7.0

I have 2 bridges - vmbr0 and vmbr1. I want to attach a gateway/firewall running in a virtual machine between the 2 and use it to connect out to the WAN through vmbr0.

I have removed the IP, mask and gateway from vmbr0 so that the firewall (monowall) can hold those itself.

Virtual machines running under Proxmox will connect to vmbr1 and access the gateway on the inward side on the 10.0.0.0/8 network.

When I switch this config over and reboot the server it does not respond to a ping, or the VPN. What am I doing wrong?

Thanks in advance for any help.

Here is my /etc/network/interfaces
Code:
iface lo inet loopback
 
auto eth0
iface eth0 inet manual
     post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

auto vmbr0
iface vmbr0 inet manual
    bridge_ports eth0
     bridge_stp off
     bridge_fd 0

auto vmbr1
    address 10.2.0.1
    netmask 255.0.0.0
    gateway 10.2.2.1
    bridge_ports none
     bridge_stp off
     bridge_fd 0

 

10 More Discussions You Might Find Interesting

1. Linux

NAT Routing in linux

How to use NAT Router in linux Redhat 6 ? and what packages and configuration are required ? (1 Reply)
Discussion started by: salhoub
1 Replies

2. Red Hat

Setting Up Routing In Linux Redhat 9 Help

:mad: I have just recently got into using Linux RedHat 9. So far I love it, I have set it up on a server I am running. Right now I have set up Samba and am running a file server for my house. I have four computers, the linux box is connected to the internet through a switch I have. There are two... (5 Replies)
Discussion started by: xTHESEUSx
5 Replies

3. Red Hat

Linux Routing Help

I have just recently got into using Linux RedHat 9. So far I love it, I have set it up on a server I am running. Right now I have set up Samba and am running a file server for my house. I have four computers, the linux box is connected to the internet through a switch I have. There are two NICS in... (1 Reply)
Discussion started by: xTHESEUSx
1 Replies

4. UNIX for Dummies Questions & Answers

bridge on linux

Hello. I expirince some problems with bridging, i'm pretty new to that technology I've 2 nic's 1 - wireless rt2500 ra0 canyon cn511 card 2 - e100 intel, ifconfig ra0 up && iwconfig ra0 essid xxx channel x mode managed bring me wireless connection up then i do following: brctl addbr br0... (1 Reply)
Discussion started by: hachik
1 Replies

5. Linux

linux routing

how i add new routes to my linux machine (1 Reply)
Discussion started by: youmna
1 Replies

6. Linux

Routing in Linux

Hello All, I know it's a tricky probably stupid question but I'm stuck.... :( Is there any way to route different protocols through different eth cards for the same destination in Linux? With route add or something like it? For instance: FTP to/from 192.168.1.1 goes through eth0 - gw2... (1 Reply)
Discussion started by: pmpx
1 Replies

7. UNIX for Dummies Questions & Answers

database connection failing from linux

Hi, I am trying to connect to an Oracle database using the following code : sqlplus username/password@database_name It was showing an error 'username/password invalid' But i tried: sqlplus username/password ,it was connecting now. Can anyone suggest what may be the... (1 Reply)
Discussion started by: DILEEP410
1 Replies

8. Red Hat

Samba installation failing on Linux

We are trying to install samba server on linux environment but it's failing with following errors. Could any of you help me on this. body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI;font-size:9pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. ... (4 Replies)
Discussion started by: talk1234
4 Replies

9. IP Networking

Implement inter vlan routing with Linux

Hello. I want to Communicate 2 VLAN with router like this solution: http://8pic.ir/images/83m0ouih8mmm9s1sfl56.jpg For this purpose I'm configuring 2 Linux system as a switch and connect 4 host to them. Then a router is added to scenario. The configuration of the switches is: On DUT1(Linux):... (1 Reply)
Discussion started by: zsn
1 Replies

10. UNIX for Advanced & Expert Users

PERL DBD make test on Linux failing

I am installing Oracle DBD to PERL 5.16.3 and during make test , I am running into this error :rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/opt/oracle/product/11.2.0/racdb11204/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector Oracle.o dbdimp.o oci8.o -o... (3 Replies)
Discussion started by: talashil
3 Replies
IFSCHEME(8)							     Commands							       IFSCHEME(8)

NAME
ifscheme - scheme control for network interfaces SYNOPSIS
ifscheme [-v] [[-s] newscheme] mapping <interface> script ifscheme-mapping DESCRIPTION
ifscheme allows you to change network configuraton schemes or query the current scheme. It integrates with the ifup(8) command and inter- faces(5). For example, you might use this program to configure a "home" scheme and a "work" scheme for a network device on a laptop. When you move between home and work, a simple command can reconfigure your networking. If you run the program with no parameters, it will tell what the current network scheme is. The ifscheme-mapping utility is used to tell the ifup and ifdown utilities about the current scheme. OPTIONS
-v --verbose Run in verbose mode. This is passed in to the ifup and ifdown programs as well. -l --list list all schemes available/defined in /etc/network/interfaces. newscheme -s newscheme --scheme newscheme Change to a new network configuration scheme. When the scheme is changed, network interfaces that were using the old scheme will be taken down and brought back up to use the new configuration scheme. -s or --scheme are mandatory if newscheme begins with a -. CONFIGURATION
To make the program do anything useful when a scheme is selected, you must edit /etc/network/interfaces to add a mapping for the interface (or interfaces) that can be controlled on a per-scheme basis. Suppose you want to control eth0 in this way. You might have an existing eth0 configuraton in there, such as: auto eth0 iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1 To change this so you can chose between static routing and dhcp, replace it with the following (it helps to ifdown the interface first). auto eth0 mapping eth0 script ifscheme-mapping iface eth0-home inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1 iface eth0-work inet dhcp Now if you run "ifscheme home" and ifup the interface, you'll get the eth0-home configuration stanza. If you run "ifscheme work", it will be changed to the eth0-work stanza. You can add additional stanzas as desired, but the label must always be of the form <hardware inter- face>-<scheme name>. If you have a second interface (perhaps a wireless network card on eth1), you can duplicate the above for that interface, changing the eth0 and the configuration details as appropriate, but remember to add an iface stanza for every scheme name for the second interface. FILES
/etc/network/interfaces the interfaces definition file /etc/network/run/scheme the current scheme /etc/network/run/ifstate a record of the current state of the interfaces, managed by ifup and ifdown BUGS
All schemed interfaces will have the same scheme. Any schemed interface which does not have an entry for the current scheme and is not configured when the scheme is changed will not be suc- cessfully configured when it is brought up. SEE ALSO
interfaces(5) ifup(8) ifdown(8) DISTRIBUTION
Redistribution is subject to the GNU public license. AUTHORS
Joey Hess <joey@kitenet.net>, Peter Wilson <pwilson@cs.hmc.edu> IFSCHEME(8)
All times are GMT -4. The time now is 08:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy