LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-29-2005, 03:48 AM   #1
tkt
Member
 
Registered: Apr 2005
Posts: 37

Rep: Reputation: 15
add route doesn't work


Hi,

I have a 3Com Layer 2 switch. I segmented the switch into two VLAN. I would like to route from segment one to segment two. In segment one, I have a PDC with two NIC, NIC 1 with IP of 172.16.0.1/255.255.254.0 plugged into segment one and NIC 2 with IP of 192.168.0.1/255.255.255.0 plugged into segment two. In segment two, I have a BDC with one NIC with IP of 192.168.0.1/255.255.255.0. I can ping BDC from PDC, but BDC couldn't ping PDC. The routes that I added are as below:

at PDC,
route add 192.168.0.0 mask 255.255.255.0 gateway 192.168.0.2
route add 172.16.0.0 mask 255.255.255.0 gateway 192.168.0.2

at BDC,
route add 172.16.0.0 mask 255.255.255.0 gateway 192.168.0.2

Anything wrong with the route?

Thanks.
 
Old 06-29-2005, 05:56 PM   #2
rkettle
Member
 
Registered: Jun 2005
Posts: 204

Rep: Reputation: 30
pdc bdc???? you on the right forum?

you mean

route add -net 192.168.0.1 default gw 192.168.0.2 ?

Regards
Richard
 
  


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
How do I add a route??? moonmoth Linux - Networking 3 09-04-2005 06:25 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
route add powah Linux - Newbie 4 09-01-2005 02:24 PM
route add robf2301 Linux - Networking 6 03-11-2005 04:06 AM
ip route add ducati620 Linux - Networking 0 06-06-2004 06:11 AM

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

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