LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-01-2013, 01:38 PM   #1
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Rep: Reputation: 30
/etc/network/interfaces - Debian7 + XCP-Xapi


When I add all interfaces, the internet does not work....

eth0 = internet
eth1 = lan

------------------
auto eth0
iface eth0 inet static
address 192.168.1.254
netmask 255.255.255.0
broadcast 192.168.1.255

auto eth1
iface eth1 inet static
address 192.168.0.100
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.254

auto xenbr0
iface xenbr0 inet static
address 192.168.0.101
bridge_ports eth1
netmask 255.255.255.0
broadcast 192.168.0.255

auto xenbr1
iface xenbr1 inet static
address 192.168.0.102
bridge_ports eth1
netmask 255.255.255.0
broadcast 192.168.0.255
 
Old 11-02-2013, 11:40 AM   #2
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 165

Rep: Reputation: 2
you put the gateway for eth1
and you said
eth1 = lan
so you must put the gateway for the internet interface
+ check your resolv.conf for dns nameservers
 
  


Reply

Tags
xen debian


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] problem: Wind River Linux is not detecting the network cards (network interfaces) NM04 Linux - Newbie 17 12-06-2013 09:06 AM
[SOLVED] Ubuntu /etc/network/interfaces - my 3 network cards - not working correctly WildDrake! Linux - Networking 2 06-13-2013 02:53 PM
[SOLVED] /etc/network/interfaces configuration for virtual interfaces nonshatter Linux - Networking 4 10-25-2010 07:22 AM
ifup: couldn't read interfaces file "/etc/network/interfaces" debian lenny lorimer73 Linux - Networking 1 08-24-2010 04:47 PM
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 07:56 PM


All times are GMT -5. The time now is 08:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration