Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-10-2003, 04:01 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2003
Posts: 29
Rep:
|
Routing Problem? Help Needed.
Alright, Here is the situation.
First of all, I am new to linux sort of. I am running RedHat 8.0
Ok, There is two seperate networks.
The first is 192.168.0.0
The second is 192.168.206.0
192.168.0.0 is a network that is using DHCP for there internet access.
192.168.206.0 will be using static IP's. There will be about 3 - 6 machines that will be using this network. This network will be connecting through 192.168.0.0 to gain internet access.
192.168.0.0 is using a router given to them by Qwest. Router's address is 192.168.0.1 of course.
192.168.206.0 will be using the linux machine.
The linux maching will be acting as router to pass packets from 192.168.206.0 to 192.168.0.0 for internet access.
Alright, now that you know all that.. Here is the problem.
My Linux machine has of course two network cards in it, one being 192.168.0.41(Assigned by DHCP) and the other being 192.168.206.1
From the linux box I can ping everything from the internet to my inside network, example being a station with 192.168.206.3
Now when I go to that station 192.168.206.3 I can ping everything to 192.168.0.41 and anything past that I cannot ping, an example being 192.168.0.1 or the internet.
Does this relate to my routing tables or does this relate to Permission and my iptables.
Here is my netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.206.0 * 255.255.255.0 U 40 0 0 eth0
192.168.206.0 * 255.255.255.0 U 40 0 0 eth1
192.168.0.0 * 255.255.0.0 U 40 0 0 eth0
127.0.0.0 * 255.0.0.0 U 40 0 0 lo
default 192.168.0.1 0.0.0.0 UG 40 0 0 eth0
Am I missing something in there, To me it doesnt look like I am, but I coudl be over looking something.
Thanks.
|
|
|
|
07-10-2003, 06:17 PM
|
#2
|
|
Member
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397
Rep:
|
I belive it is because your second NIC is using other broadcast.
Try changing 192.168.206.3 to 198.168.0.69 or something.
|
|
|
|
07-10-2003, 06:29 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2003
Posts: 29
Original Poster
Rep:
|
192.168.206.3 is just another computer on the network.
The two network cards on the Router are.
eth0: 192.168.0.41
eth1: 192.168.206.1
|
|
|
|
07-11-2003, 02:11 PM
|
#4
|
|
LQ Newbie
Registered: Jul 2003
Posts: 29
Original Poster
Rep:
|
Anyone?
|
|
|
|
07-11-2003, 02:18 PM
|
#5
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You have 2 cards using the same network - this won't work properly. Like serz said - change one of your networks.
|
|
|
|
07-11-2003, 02:21 PM
|
#6
|
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
Yep, it is right there in your routing table
192.168.206.0 * 255.255.255.0 U 40 0 0 eth0
192.168.0.0 * 255.255.0.0 U 40 0 0 eth0
|
|
|
|
07-11-2003, 02:39 PM
|
#7
|
|
LQ Newbie
Registered: Jul 2003
Posts: 29
Original Poster
Rep:
|
Hrmm, I have one card using the outsiide network which is 192.168.0.0 and I have one card for out inside network which is 192.168.206.0
How are they using the same network?
What do I need to change in my routing table?
|
|
|
|
07-12-2003, 04:21 AM
|
#8
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Try:
route del 192.168.206.0 netmask 255.255.255.0 dev eth0
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|