LinuxQuestions.org
Visit Jeremy's Blog.
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 12-06-2003, 09:22 AM   #16
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15

have you tried this?
As root remove the default route with the command:
route del default 10.0.0.254
 
Old 12-06-2003, 09:25 AM   #17
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15
Did you do this?
Edit your /etc/sysconfig/network-scripts/ifcfg-eth0 and remove the line with the GATEWAY.
 
Old 12-06-2003, 09:32 AM   #18
dook
LQ Newbie
 
Registered: Dec 2003
Location: USA
Distribution: SuSE 8.2
Posts: 11

Original Poster
Rep: Reputation: 0
Yes, if I delete the default gateway, ping gives the error "Cannot connect" or something similar. Nothing seems to work without a default gateway entry. And I just realized the forum went to page 2.

*edit*

Also, I used the "service network restart" command to load the net values after the config file was edited

Last edited by dook; 12-06-2003 at 09:33 AM.
 
Old 12-06-2003, 09:35 AM   #19
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15
Try adding a different default route.

route add -net 10.0.0.0 netmask 255.255.255.0 dev eht0

OR
route add -net 0.0.0.0 netmask 255.255.255.0 dev eht0
 
Old 12-06-2003, 09:45 AM   #20
dook
LQ Newbie
 
Registered: Dec 2003
Location: USA
Distribution: SuSE 8.2
Posts: 11

Original Poster
Rep: Reputation: 0
I've tried the -net 10.0.0.0 command but I don't think the -net 0.0.0.0 one, I'll try that next time I get a chance to work on it. The computers are in another building and I don't think it is open on the weekend. But thanks for all your help and such, if it doesn't work I'll be posting here again.

Thanks alot
Dook
 
Old 12-06-2003, 09:49 AM   #21
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15
The only other thing I can think of is did you load any kind of firewall that would possibly block ICMP packets? ipchains iptables for example? Also, I see you have a much older version of Red Hat too.
If possible coult you post your ifcfg-eth0 file and rhe results of netstat -r ? I will take a look in the morning.
It is nearly 1 a.m. here and I need my beauty sleep!
 
Old 12-06-2003, 10:07 AM   #22
dook
LQ Newbie
 
Registered: Dec 2003
Location: USA
Distribution: SuSE 8.2
Posts: 11

Original Poster
Rep: Reputation: 0
Alright. I've already posted the settings from the ifcfg file I used, since I find it easier to edit that instead of using ifcfg. I do not have direct acces to the actual file right now, and I've posted the routing table in the first post.

DEVICE=eth0
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.255.255.0
GATEWAY= 10.0.0.254 (default)

-Dook
 
Old 12-06-2003, 11:01 AM   #23
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
>When I ping the 127.0.0.1 on all three computers, I get replies.
>Then your NICs are good.

Uh, no, the lookback address is handled internally, it will still
work even if the NIC is broken.

Can you try swaping the network cards between two computers? Or just get anohter one, they are very cheap.
 
Old 12-06-2003, 11:30 AM   #24
dook
LQ Newbie
 
Registered: Dec 2003
Location: USA
Distribution: SuSE 8.2
Posts: 11

Original Poster
Rep: Reputation: 0
Ok zaphodiv. Also when I ping the broadcast addr, I get replies back from only the computer I pinged from. These cards are rather old, but I do not have a budget to get more. There's cards available from other computers that I'll try. At least until I get everything consistent. Is there some online tutorial strictly for static ip networking? Like, a REAL one? www.yolinux.com has a pretty good one but none of that worked.
 
Old 12-06-2003, 07:08 PM   #25
tiger3
Member
 
Registered: Nov 2003
Location: Land of the Rising Sun!
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52

Rep: Reputation: 15
This is a great reference, but it may be more than you need.
http://www.oreilly.com/catalog/linag2/book/index.html

this one too.
http://tldp.org/LDP/nag/node1.html

these are searchable:
http://www.tldp.org/tldp-redirect.php?url=/
http://www.linuxlinks.org/
 
  


Reply


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
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
Is there any static ARP for static IP network? linux_lover2005 Linux - Networking 2 05-18-2005 12:01 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
Random Networking to Non-Networking o-o Ne0BDP Slackware 3 07-08-2004 01:18 AM
Trying to setup Linux networking (Static to ISP) friddick Linux - Networking 2 07-30-2003 04:47 AM

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

All times are GMT -5. The time now is 06:01 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