Re: networking with virtual machine

2012-09-19 Thread Neal Murphy
On Wednesday, September 19, 2012 08:42:57 PM lee wrote: > Neal Murphy writes: > > On Tuesday, September 18, 2012 05:59:47 PM lee wrote: > >> Neal Murphy writes: > >> > So yes, if you want 'real' networking, you'll need bridges and taps. > >> > >> Thank you, I'll have to look into taps then. > >>

Re: networking with virtual machine

2012-09-19 Thread lee
Neal Murphy writes: > On Tuesday, September 18, 2012 05:59:47 PM lee wrote: >> Neal Murphy writes: >> > So yes, if you want 'real' networking, you'll need bridges and taps. >> >> Thank you, I'll have to look into taps then. >> >> Do you think it's a good idea to just create a bridge device wit

Re: networking with virtual machine

2012-09-19 Thread Neal Murphy
On Tuesday, September 18, 2012 05:59:47 PM lee wrote: > Neal Murphy writes: > > So yes, if you want 'real' networking, you'll need bridges and taps. > > Thank you, I'll have to look into taps then. > > Do you think it's a good idea to just create a bridge device with the > unused eth0 for this?

Re: networking with virtual machine

2012-09-18 Thread lee
Neal Murphy writes: > So yes, if you want 'real' networking, you'll need bridges and taps. Thank you, I'll have to look into taps then. Do you think it's a good idea to just create a bridge device with the unused eth0 for this? I could leave eth1 as is and would basically only have to add a zo

Re: networking with virtual machine

2012-09-18 Thread Neal Murphy
On Tuesday, September 18, 2012 03:25:45 PM lee wrote: > Chris Davies writes: > > lee wrote: > >> Yes and when I replace the interface I have now (eth1) with a bridge > >> device (br1), then how do I tell shorewall that the guest is in the dmz > >> (for example)? > > > > You need "bridge" and "ro

Re: networking with virtual machine

2012-09-18 Thread lee
Chris Davies writes: > lee wrote: >> Yes and when I replace the interface I have now (eth1) with a bridge >> device (br1), then how do I tell shorewall that the guest is in the dmz >> (for example)? > > You need "bridge" and "routeback" set in your shorewall interfaces file. Ok, all the example

Re: networking with virtual machine

2012-09-18 Thread Chris Davies
lee wrote: > Yes and when I replace the interface I have now (eth1) with a bridge > device (br1), then how do I tell shorewall that the guest is in the dmz > (for example)? You need "bridge" and "routeback" set in your shorewall interfaces file. Take a look at http://www.shorewall.net/SimpleBrid

Re: networking with virtual machine

2012-09-17 Thread lee
Chris Davies writes: > lee wrote: > > No, not really. A bridge on your host is more like this: > > |--- con1+shorewall --- host > Internet --- eth1+shorewall --- [switch] ---|--- con2+shorewall --- guest A >

Re: networking with virtual machine

2012-09-17 Thread lee
James Allsopp writes: > Hi, > I think I had a similar problem. To solve the problem first you need > to set up a bridge, there's instructions in lots of places on how to Yes, and how do I get shorewall to work with that? > Then you need to alter the VM's xml file, Oh I don't have one yet. It

Re: networking with virtual machine

2012-09-17 Thread Chris Davies
lee wrote: > I do not want to bridge the internet transparently with the local > network, which seems to be what a bridge would do. It would be like > replacing this: > |--- host A > Internet --- eth0 firewall eth1 ---|--- host B >

Re: networking with virtual machine

2012-09-16 Thread James Allsopp
Hi, I think I had a similar problem. To solve the problem first you need to set up a bridge, there's instructions in lots of places on how to do this, auto br0 iface br0 inet static address 192.168.1.2 network 192.168.1.0 netmask 255.255.255.0 #broadcast 192.168.0.255 gatewa

Re: networking with virtual machine

2012-09-14 Thread lee
Chris Davies writes: > lee wrote: >> That seems to suggest using a bridge[1], and I find that very >> confusing. I understand that apparently I am supposed to replace my >> currently used eth1 by a bride device which uses eth1 and to which I >> could add other physical devices like eth0. I don't

Re: networking with virtual machine

2012-09-14 Thread Chris Davies
lee wrote: > That seems to suggest using a bridge[1], and I find that very > confusing. I understand that apparently I am supposed to replace my > currently used eth1 by a bride device which uses eth1 and to which I > could add other physical devices like eth0. I don't understand what the > purpos

Re: networking with virtual machine

2012-09-13 Thread lee
Rob Owens writes: > On Thu, Sep 13, 2012 at 10:32:40PM +0200, lee wrote: >> Hi, >> >> since I'm not making any progress: I want to set up a VM (running >> testing) that can be reachable from the outside over the network. I've >> done that 2 years or so ago and I forgot how to do the networking

Re: networking with virtual machine

2012-09-13 Thread Rob Owens
On Thu, Sep 13, 2012 at 10:32:40PM +0200, lee wrote: > Hi, > > since I'm not making any progress: I want to set up a VM (running > testing) that can be reachable from the outside over the network. I've > done that 2 years or so ago and I forgot how to do the networking setup, > and network confi

networking with virtual machine

2012-09-13 Thread lee
Hi, since I'm not making any progress: I want to set up a VM (running testing) that can be reachable from the outside over the network. I've done that 2 years or so ago and I forgot how to do the networking setup, and network configuration has changed in the meantime. I need to somehow set up a