LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2005, 04:03 PM   #1
nkeever
Member
 
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Rep: Reputation: 15
newbie and subnets


posted a message linux network but i think i am such a newbie no one would help.

Ok. I have taken a port on my switch and created a subnet with it. I am trying to connect windows xp machines to two FC3 servers. One of the servers i am able to ping. The other i am not. My switch is providing DHCP. My final goal is to get windows xp machines that are on a different subnet and domain to connect to these file servers. Please help, let me know what information you need and the best why to get this information.

thanks in advance
 
Old 05-02-2005, 04:13 PM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Is it just a switch or a router? On a router you need to forward the port to the servers IP. Which port depends on the listening port which you can usually set on the server. Standard ftp is 21 and ssh is 22.
There are all kinds of servers so we need to know what you're using.
 
Old 05-02-2005, 08:11 PM   #3
nkeever
Member
 
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Original Poster
Rep: Reputation: 15
it is a Cisco switch 1700 series
 
Old 05-03-2005, 01:00 AM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
If I'm not mistaken the 1700 series is a router which includes a switch. Have a look at the manual for forwarding ports. Now the routers firewall blocks traffic coming to those servers so you need to tell it to let traffic pass to a certain port.
 
Old 05-03-2005, 07:40 AM   #5
nkeever
Member
 
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Original Poster
Rep: Reputation: 15
my bad its a 3550 series.
thanks for your patience
 
Old 05-03-2005, 08:24 AM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Sorry, haven't used a similar, only routers. You can find a lot of documentation on cisco's website though. I know, not very helpful.
 
Old 05-03-2005, 09:07 AM   #7
nkeever
Member
 
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Original Poster
Rep: Reputation: 15
I am not sure if the problem is in the switch configuration. On my new sub net i am able to VNC into other computers on my old subnet. I am also able to remote connect to a windows 2003 server that is on my old subnet.

To just recap i am able to ping and ssh from my new subnet to a File server on my old subnet but not able to use my network places and see any of the shares. Also i am unable to ping and ssh to my web server thru my new subnet. The webserver is on the same subnet as my file server.


thanks
 
Old 05-03-2005, 09:30 AM   #8
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
What you probably need is a route added to the routing table on one/all of your boxes. Check your existing routes

Linux: netstat -r
Win: route print
Cisco: (don't know)

Now within these routing tables there will be an entry which creates a link between the two subnets (points all requests for a particular subnet to a gateway or eth device) you'll have to make sure that a route exists for any device you can't see/ping.
 
Old 05-03-2005, 09:46 AM   #9
nkeever
Member
 
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Original Poster
Rep: Reputation: 15
Here is my netstat -r for the file server that i am able to ping from my new subnet.

Destination Gateway Genmask Flags MSS Window irtt Iface
10.56.35.0 * 255.255.255.0 U 0 0 0 eth0
default 10.56.35.253 0.0.0.0 UG 0 0 0 eth0


Here is my netstat -r for the web server that i am unable to ping. with my public ip addres changed (security security)

Destination Gateway Genmask Flags MSS Window irtt Iface
28.51.61.8 * 255.255.255.248 U 40 0 0 eth0
10.56.35.0 * 255.255.255.0 U 40 0 0 eth2
127.0.0.0 * 255.0.0.0 U 40 0 0 lo
default 28-51-61-9.st 0.0.0.0 UG 40 0 0 eth0
default 10.56.35.253 0.0.0.0 UG 40 0 0 eth2



okmyx mentioned
"Now within these routing tables there will be an entry which creates a link between the two subnets (points all requests for a particular subnet to a gateway or eth device) you'll have to make sure that a route exists for any device you can't see/ping."

I understand what you said but i am confused because the server i am able to ping does not have a route for my new subnet. (that i can see)


thanks again
 
Old 05-03-2005, 11:32 AM   #10
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Its entirely possible that the cisco router is handling all the routing between the subnets.

The examples you supplied all have 10.56.35.253 as their default gateway which i'm guessing is the ip address of your cisco router.

Routing works so that if a predifined route doesn't exist then the packet is passed to the default gateway.

The webserver look like it has two default gateways which could be causing the problem (a ping is reaching the server but cannot find a route back to the originator or is attempting to find a route back over eth0 and not eth2).

Possibly remove the 10.56.35.253 as a default gateway and add it as a static route instead.

Last edited by okmyx; 05-03-2005 at 11:36 AM.
 
Old 05-03-2005, 06:29 PM   #11
nkeever
Member
 
Registered: Apr 2005
Distribution: Debian / Redhat
Posts: 45

Original Poster
Rep: Reputation: 15
thanks for your help thus far.

i have jumped to a dev server so i do not mess anything up on the network.

so it seems that i need to add my new subnet to the routing table.
i am using:
route add -net 10.0.0. netmask 255.255.255.0 eth0

but it does not acctept this command. (command not found)

am i way off here or do i need to be routing the new subnet to the old
subnet


help

and thans again
 
  


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
want to see different subnets in samba euler Linux - Networking 5 07-20-2005 07:30 AM
help on subnets HappyGilmore Linux - Networking 12 07-07-2005 09:33 AM
newbie, subnets ... -mk- Linux - Networking 1 08-17-2004 03:41 AM
Broadcast across subnets lezek Linux - Networking 3 01-01-2004 07:27 PM
Routing between different subnets ... suvajit Linux - Networking 1 05-15-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration