LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2012, 07:32 AM   #1
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
Unhappy Network issues


Hi

Last night when we rebooted one of our servers, the main network eth0 came up on the allocated IP address but the other addresses that should have come up did not do so. I'm trying to understand why.

As a result, I'm concerned that the interfaces file may not be set up properly.

Code:
# 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

# The primary network interface
allow-hotplug eth0 eth0:2 eth0:6
iface eth0 inet static
        address x.y.36.15
        netmask 255.255.254.0
        network x.y.36.0
        broadcast 255.255.254.0
        gateway x.y.36.4
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers n.o.p.q   r.s.t.u

iface eth0:2 inet static
        address x.y.36.215
        netmask 255.255.254.0
        network x.y.36.0

iface eth0:6 inet static
        address x.y.37.124
        netmask 255.255.254.0
        network x.y.36.0
#
If this is right (and having booted the server on a couple of occasions previously, I see no reason for it not to be), I should get:
  • eth0: - x.y.36.15
  • eth0:6 - x.y.36.215
  • eth0:2 - x.y.37.124

Is this assertion correct?

Also having looked through syslog, messages, dmesg, and a couple of other files, I can't see anything obvious and am beginning to think that the server just "froze". Any other ideas of where to look would be gratefully received.
 
Old 01-18-2012, 08:07 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
Have you tried bringing up the eth0:2 and :6 ifaces manually? If that works, you'd narrow the issue down to the boot scripts, if it doesn't, it'll give you errors that'll point you in the right direction
 
Old 01-18-2012, 08:12 AM   #3
larrym82
Member
 
Registered: Dec 2011
Posts: 71

Rep: Reputation: Disabled
Quote:
Originally Posted by MarcusWebb1966 View Post
Hi

Last night when we rebooted one of our servers, the main network eth0 came up on the allocated IP address but the other addresses that should have come up did not do so. I'm trying to understand why.

As a result, I'm concerned that the interfaces file may not be set up properly.

Code:
# 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

# The primary network interface
allow-hotplug eth0 eth0:2 eth0:6
iface eth0 inet static
        address x.y.36.15
        netmask 255.255.254.0
        network x.y.36.0
        broadcast 255.255.254.0
        gateway x.y.36.4
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers n.o.p.q   r.s.t.u

iface eth0:2 inet static
        address x.y.36.215
        netmask 255.255.254.0
        network x.y.36.0

iface eth0:6 inet static
        address x.y.37.124
        netmask 255.255.254.0
        network x.y.36.0
#
If this is right (and having booted the server on a couple of occasions previously, I see no reason for it not to be), I should get:
  • eth0: - x.y.36.15
  • eth0:6 - x.y.36.215
  • eth0:2 - x.y.37.124

Is this assertion correct?

Also having looked through syslog, messages, dmesg, and a couple of other files, I can't see anything obvious and am beginning to think that the server just "froze". Any other ideas of where to look would be gratefully received.
It's been awhile, so take this with a grain of proverbial salt. Your network mask essentially assigns all of your A level traffic to network 254, but your level A IP addresses are for 36 or 37. 255 is a broadcast address, but 254 is a specific network address. So, your private network would have to be masked as 255.255.255.0 in order to use addresses 255.255.0.0 to 255.255.254.254 inclusive. The way you have it set up you get addresses from 255.255.254.0 to 255.255.254.254 inclusive. 0 is always a local address.
 
  


Reply

Tags
basic, configuration, debian, network


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
Dell m1210 Linux issues (having issues getting network working under Ubuntu) thebert Linux - Newbie 4 03-14-2008 04:47 PM
Network issues 24giovanni Linux - Networking 18 11-19-2006 10:54 AM
network issues jjorloff1 Mandriva 3 12-18-2004 08:57 PM
Network Issues djljjm Linux - Networking 16 12-06-2004 03:49 PM
Network issues jfranks214 Linux - Laptop and Netbook 0 02-12-2004 02:06 PM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
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