LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-31-2006, 10:19 AM   #1
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Rep: Reputation: 15
networking with Fedora 5


Hi

Have taken the final step and going Linux.

Installed Fedora 5 and when I try to ping other machines (Windows for now), the response is Destination host unreachable.

I had a simailer problem when I was using Mandrake and with the help of linuxquestions.org determined that it was a firewall setting. Fedora looks a lot different so am having a hard time figuring which setting to change. I found IPTables in service but shutting that down made no diffence that I could see

This machine is going to be used as a file server and hopefully an Application server. Everything appears to be setup right, IP addresses, NICs, etc though I'm not sure about whether Workgroup is named right,(though in 'smb.conf' it looks right.) also I'm not using DHCP.

I've Googled this and a lot of the time I can't get some commands to work in terminal, even as SU and using /sbin/
 
Old 11-01-2006, 05:29 AM   #2
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
what does route show You?
Maybe some problem with Your network?
Destination host unreachable can appear when theres firewall installed on target machine.
 
Old 11-01-2006, 09:44 AM   #3
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Original Poster
Rep: Reputation: 15
hi shaman66,

I should mention that there are 3 NICs in this machine. Just wondering if it knows which card to use?!?!

Did route and the last IP segment is showing 0 instead of what ever I put in.

eth0 shows twice, first with the shortened IP address and the second with the right gateway address.

eth1 shows once with the shortened IP and no gateway, which is right

eth2 shows twice with the shortened IP address with an unknown address, I think a gateway address, which there is supposed to be none.

All Flags are 'U' with the gateway flag 'UG'
 
Old 11-01-2006, 09:57 AM   #4
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Original Poster
Rep: Reputation: 15
I did a 'IP route show' and the unknown address has no 'scope link' but everything else showed up right.

(I remember learning all this stuff with DOS 12 years ago )
 
Old 11-01-2006, 03:30 PM   #5
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
can You input here the exact output please?
it would help me seeing it
 
Old 11-06-2006, 09:16 AM   #6
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Original Poster
Rep: Reputation: 15
Hi shaman66,

OK, this is as verbatum as I could get, meaning I think I got it right

from root /sbin/ip route show

192.168.3.0/24 dev eth1 proto kernel scope link src 192.168.3 200
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2 101
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2 50
169.254.0.0/16 dev eth2 scope link
default via 192.168.2.100 dev eth0

Also, from root /sbin/route

Kernel ip routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth2
169.254.0.0 * 255.255.0.0 U 0 0 0 eth2
Default 192.168.2.100 0.0.0.0 UG 0 0 0 eth0

Is not the 169.254.0.0 a default ip address when there is no DHCP present? I'm not using DHCP, also the gateway computer is not yet working. (no high speed yet) The only NIC that should have a Gateway is eth0, I did not specify any for eth1 or eth2
 
Old 11-06-2006, 01:29 PM   #7
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
Hi.
This looks weird.

192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth2

2 networks can be gained through 2 different NICs.
169.254 is IMO (but i may be wrong) default IP for windows machines without DHCP server working.

Also what IPs You are trying to ping?
Can Your machine be pinged from other computers?

I hope we will sort this out

shaman66
 
Old 11-06-2006, 09:54 PM   #8
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Original Poster
Rep: Reputation: 15
Sorry, I was concentrating on copying everything accurately and neglected to mention how I had configured them. It is supposed to be;

eth0 192.168.2.101
gate 192.168.2.100 (on eth0)
eth1 192.168.3.200
eth2 192.168.2.50
mask 255.255.255.0

And as mentioned earlier, there is no DHCP. Fedora can't see anything other than itself and nothing else can see Fedora.
 
Old 11-07-2006, 05:28 AM   #9
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
You need to fix routes on all nics.
ill edit this post with commands to do later.
if you will fix it earlier, tell me please


cheers

*edit*
try tu put down interfaces. all that you wont use at the moment.
for example if you want to ping machines on eth0 put down eth1 and eth2 and tell me if that worked.

Last edited by shaman66; 11-07-2006 at 05:30 AM.
 
Old 11-07-2006, 08:23 AM   #10
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Original Poster
Rep: Reputation: 15
I deactivated eth1 and eth2 and tried pinging other machines and still nothing
 
Old 11-10-2006, 09:43 PM   #11
Jan Tanjo
Member
 
Registered: Dec 2004
Location: Toronto ON
Distribution: Mandrake 9.2 . Fedora 5
Posts: 65

Original Poster
Rep: Reputation: 15
I am such an idiot

I'm reconfiguring the studio and there are a few cable ends laying around and I plugged the wrong goddamn network cable into the Fedora box.

Well, when you get that part right things work a lot better. Well I'm off to figure out permission and such. Thanks shaman66 for you time
 
Old 11-11-2006, 02:46 AM   #12
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
BUAHAHAHAHAHA m8
nice one
but the worst thing is that.. it just happens
np m8, we're here to help
 
  


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
Can't save networking changes in Fedora 1 compassman Linux - Networking 5 06-11-2005 12:25 PM
fedora 2 and networking with W$ mannoulla Linux - Software 1 07-08-2004 12:27 PM
Fedora Networking Help nyxx Linux - Networking 8 07-03-2004 03:51 PM
Fedora Networking jeopardyracing Linux - Networking 1 02-09-2004 05:20 AM


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