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 07-04-2005, 01:26 AM   #1
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
eth0 static config for Sarge net install


Hi

I am trying to install Sarge, but the caveat is that I am in a network requiring static IP, so the DHCP net install is useless unless I can get my eth0 interface working. Even a CD install will probably leave me with same issues in the end so I ask now.

Problem: I am getting a SIOCADDRT: network is unreachable although eth0 is configured and up. Here is the status of my system:

eth0 Link encap:Ethernet HWaddr 00:50:8D:4C:37:18
inet addr:172.16.77.26 Bcast:172.16.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46779 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2883279 (2.7 MiB) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x2000


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

# 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
auto eth0
iface eth0 inet static
address 172.16.77.26
netmask 255.255.255.0
gateway 172.16.0.1
#dns-nameservers 61.74.63.1

(note: I set resolv.conf to the correct values already)

Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 48330 0 0 0 0 0 0 0 BMRU
lo 16436 0 0 0 0 0 0 0 0 0 LRU

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.77.0 * 255.255.255.0 U 0 0 0 eth0

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I have an Abit Athlon MB with the annoying nVidia chipset but on the first stage of install Debian Installer recognized it and gave me the forcedeth driver, which I added to mu modules.conf like this:

alias eth0 forcedeth


But, still I cannot reach the internet. Anyone have an analysis of what may be wrong??

thanks

Peff
 
Old 07-04-2005, 07:30 AM   #2
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 15
Found the problem--wrong netmask given my the admin.

Peff
 
  


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
eth0 gone after sarge install Brother Michael Debian 10 07-31-2006 01:06 PM
Sarge Eth0 config problems rblampain Linux - Distributions 2 10-13-2005 10:41 PM
eth0 can't get IP with DHCP, static config. attempts can't ping pdt677 Linux - Networking 6 03-06-2005 09:53 PM
Sarge net install subh Debian 7 12-21-2003 03:11 PM
Sarge Net Install ? ghight Linux - General 6 03-28-2003 07:05 AM

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

All times are GMT -5. The time now is 05:17 AM.

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