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. |
|
 |
05-08-2002, 03:45 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2002
Distribution: RedHat 8.0, FreeBSD 4.8
Posts: 12
Rep:
|
Coyote Linux
I'm trying to use Coyote Linux ( www.coyotelinux.com), which is basically Linux Router Project with an easier config script to build a floppy. I've had no problem connecting to the outside via a dialup or ethernet using DHCP, but can't quite get it to negotiate the connection to my inside network. I can get other machines running on it with no problems, as I am using static IP addresses. Any suggestions?
|
|
|
|
05-08-2002, 09:49 PM
|
#2
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
try ifconfig eth0 192.168.0.101
or whatever ip you need to be on the same network as the lan according to the netmask you are using.
then try to ping the other machine
ping 192.168.0.1
also...
does the light on the hub and or nic lightup when it's hooked up on the lan
do you have a firewall blocking traffic
|
|
|
|
05-13-2002, 08:28 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2002
Distribution: RedHat 8.0, FreeBSD 4.8
Posts: 12
Original Poster
Rep:
|
New Coyote Linux Problem
I got Coyote Linux to connect up to the inside and outside.... now a new problem....no routing.
I don't have a firewall on inside machines, and when I request the outside network, the router dials up and connects, but doesn't route any data between my home LAN and the Internet.
Does anyone have an idea what's up?
|
|
|
|
05-14-2002, 09:18 AM
|
#4
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
The main thing is that you set it up to forward
run this command...
cat /proc/sys/net/ipv4/ip_forward
you should see this...
1
if not run this command...
echo 1 > /proc/sys/net/ipv4/ip_forward
you will have to put the in your firewall scripts or rc.local or somewhere that will run it when you boot if you want it to work all the time.
the other thing is your ip addresses for the internal machines, are you using ip MASQ?
if you have non-routable ip addresses like most people you will not be able to use them on the internet. You will have to always use the routers ip address. This requires ip MASQ to be set in your firewall rules
use the internet interface name in the place of ppp0 if it's not the right interface name.
for iptables...
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
for ipchains...
ipchains -A forward -i ppp0 -j MASQ
check the security forum or lookup rc.firewall on google.com for some rules. These are just the masq rules and should not be taken to mean that this is all you need to use.
Make sure your policies are not set to restrict all traffic
|
|
|
|
| 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 10:44 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
|
|