LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2009, 01:35 AM   #1
mogga
LQ Newbie
 
Registered: Jun 2009
Location: california
Distribution: ubuntu server
Posts: 1

Rep: Reputation: 0
Virtual Interfaces, Bridging, TUN, TAP question for KVM setup (ubuntu server 9.04)


Hey,
I have little/no experience with /etc/network/interfaces so I could use a little help.

I'm trying to setup a KVM mirror at home of what might be an eventual physical setup of servers

-1 nic
-physical network 192.168.1.0
-server local virtual network 10.1.0.0
-host physical server has real IP 192.168.1.50 (eth0) & local IP 10.1.0.1 (eth0:1)
-host supplies DNS, and DHCP for the 10.1.0.0 network which eventually will be a mix of servers, workstations and wirelessly connected PCs

I need a bridge/tun/tap setup but all I can find online is configs for one network and nothing for the two network setup I'm trying to build... Please help me - a bit lost here.

Here's my very basic interfaces file:

Code:
auto lo
iface lo inet loopback

auto eth0 eth0:1

iface eth0 inet static
    address 192.168.1.50
    network 192.168.1.0
    netmask 255.255.255.0
    gateway 192.168.1.254

iface eth0:1 inet static
    address 10.1.0.1
    network 10.1.0.0
    netmask 255.255.0.0
thanks in advance for any advice...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup VPN without tun/tap on linux fedora 10 VPS newyorkpride Linux - Software 4 06-12-2009 01:43 PM
Bridging and tap interfacing for virtual OSs alphisb0t Linux - Networking 0 09-19-2008 08:59 AM
Configuring TUN/TAP for a virtual machine slakwarebunny Linux - Networking 2 06-14-2008 07:37 AM
bridging, tun/tap, qemu issues kc8tbe Linux - Networking 10 03-19-2007 01:47 PM
Recent problem with TUN/TAP and Bridging meres Linux - Networking 2 12-29-2005 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration