LinuxQuestions.org
Help answer threads with 0 replies.
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 04-19-2007, 01:53 PM   #16
alienux
Member
 
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194

Rep: Reputation: 30

I didn't see if you mentioned this, but are you at least getting link lights on the switch port and on the server's NIC?

If you are getting link lights, then I would go back and re-address the possibility of it being a VLAN issue, since from what you've described it sounds like you are using VLANS on this switch.
 
Old 04-19-2007, 08:28 PM   #17
HowDoIProgramIt
Member
 
Registered: Nov 2006
Location: East Coast, USA (in "the great northeast")
Distribution: Custom / from source; Fedora, Debian, CentOS, Scientific; LFS.
Posts: 94

Rep: Reputation: 15
Sorry that didn't work, Karen; this just keeps getting better and better...

Quote:
Originally Posted by birkelbk
One other thing I found out this afternoon was there is a /etc/rc.local file that has static routes listed in it that don't appear in the netstat -rn. Where are static routes applied in Red Hat?
That's troubling; they should be getting applied right then and there. "route" won't create what it sees as an impossible route, so if the right interface(s) aren't up, they're not gonna happen.

This doesn't sound so much like a security issue, though it could be; it could just as easily be a bad cable, bad port, or something like that, too... I think that was sort of where alienux was heading with this too; you're absolutely certain that you've got a physical connection, and that this isn't a VLAN issue?

If this were me, I think I would put another computer that I knew worked on that same port; assuming that it worked, I would go through and change its settings to the ones you're planning on using, and see what happens...

Please, as you discover what's going on, post what you're finding out back up here; this is a good one...

- Larry
 
Old 04-20-2007, 01:27 PM   #18
birkelbk
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by alienux
I didn't see if you mentioned this, but are you at least getting link lights on the switch port and on the server's NIC?

If you are getting link lights, then I would go back and re-address the possibility of it being a VLAN issue, since from what you've described it sounds like you are using VLANS on this switch.
Yes, I am getting link lights and the MAC address shows up on the switch.

Where does the rc.local get executed in the startup? Does it not apply the static routes if the network isn't available when it tries to do it? I didn't think that would matter, so I would expect to see the static routes in the netstat -rn.
 
Old 04-20-2007, 10:22 PM   #19
HowDoIProgramIt
Member
 
Registered: Nov 2006
Location: East Coast, USA (in "the great northeast")
Distribution: Custom / from source; Fedora, Debian, CentOS, Scientific; LFS.
Posts: 94

Rep: Reputation: 15
Quote:
Originally Posted by birkelbk
Yes, I am getting link lights and the MAC address shows up on the switch.

Where does the rc.local get executed in the startup? Does it not apply the static routes if the network isn't available when it tries to do it? I didn't think that would matter, so I would expect to see the static routes in the netstat -rn.
Hi, Karen -

rc.local is started by rc.sysinit, which runs it (rc.local) after it's done with everything else. rc.sysinit is started by inittab, which is read by init and used as the system changes runlevels.

The two other files that come into play a lot are /etc/profile and /etc/bashrc; when bash is started as a login shell, /etc/profile runs your bash profile (~/.bash_profile) and your bashrc (~/.bashrc), then /etc/profile. There may also be files (names and contents vary) in /etc/profile.d that are executed as the shell's environment is initializing. csh (tcsh) has its own, similar, way of doing the same thing.

As far as the routes go, and as to why you're not seeing them in the netstat you did - basically, you'll see the routes in netstat if the system can create them; if what they depend upon doesn't exist, and route determines that they're impossible, then their creation will fail. If they had been created and were there, you would see them.

I still think it's got something to do - directly or indirectly - with the fact that you've got a class A address (10.b.c.d) and a class C subnet mask; I think you're ultimately going to find there's a class C address that's supposed to be getting created - somewhere - which is your ticket onto your router / switch. I could be wrong, though.

Since you have a link, and at least some communication (if the switch can read your MAC address, you have two-way communication, right? Maybe simplifying things a little might help; try something like configure that part of the router / switch / etc. you're using so it's not using VLAN, etc. (so that it's just a basic gateway), then bring up an interface, configure it, verify that you have connectivity... then, go back and add in whatever you had to comment out?

I don't really know what else to suggest that you try... I'll certainly keep my fingers crossed, for whatever good that'll do.

- Larry
 
Old 07-16-2007, 01:38 PM   #20
birkelbk
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Well, after all the head banging and grief, the problem was that it was in the wrong VLAN on the switch. Now, as far as I was concerned, the VLAN was correct, but I found out that I was given the wrong VLAN. After changing the port, the machine was properly accessible.

Thank you all for your suggestions and support. I learned a lot more about Linux from the experience.
 
Old 08-04-2007, 10:01 PM   #21
HowDoIProgramIt
Member
 
Registered: Nov 2006
Location: East Coast, USA (in "the great northeast")
Distribution: Custom / from source; Fedora, Debian, CentOS, Scientific; LFS.
Posts: 94

Rep: Reputation: 15
Hi, Karen -

For whatever it's worth, I had faith that you would ultimately figure out. I'm glad you did; it was certainly a real gem of a problem. There aren't many things I can think of that are worse than being given bad info, relying on it, and, as a result, watching your own deliverables slip.

Just my opinion, but I think the way you thought the whole thing through, and stuck with it, was commendable.

Quote:
Originally Posted by birkelbk
I learned a lot more about Linux from the experience.
Ah; isn't that always the case? It certainly seems like things never progress "the easy way", and that it's only through late night and weekend "this darn thing should've worked by now", uh, "study sessions", that I've ended up learning much of anything that's been worth learning. I think that's in part because no sane person would have bothered to delve into some of the more arcane aspects of the O/S unless they had some sort of pressing need to...

At any rate, I'm glad you're up and running, and wish you all the best in both this and in your future endeavors.

- Larry
 
  


Reply

Tags
configuration, network



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
Anyone used this Red Hat Distro (Pie Box)? Dark Severance Red Hat 1 07-01-2005 10:49 AM
Can't mount pc share on Red Hat 6.1 box kraid Linux - Networking 2 11-16-2004 09:15 AM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 11:13 AM
red hat 6.0 box worth installing? MicroFlaccid Linux - Software 2 03-04-2004 03:36 PM
install red hat on w2k box donte02 Linux - Software 1 03-10-2002 01:33 AM

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

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