Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux network

Status
Not open for further replies.

MMacun

Technical User
May 4, 2005
85
0
0
EU
how to configure slackware box. with 2 net cards.
eth0 connected to adsl.
ifconfig eth0 193.xx.xx.xx broadcast 193.xx.xx.255 netmask 255.255.255.0
ifconfig eth1 192.168.50.1

pppoe client from roarpinguin on eth0 reprting timeout.
what could be wrong.
must i configure anithing else
 
can you ping 192.168.58.1 ?

Also, check your routing tables.
 
Not familiar with slackware, but such settings are generally in:
/etc/sysconfig/network-scripts/eth*

After editing run [red]/etc/init.d/network restart[/red] or [red]/etc/init.d/networking restart[/red] (depending on distro).

You may also have to set gateway information using the route command.

[plug=shameless]
[/plug]
 
Is ip_forwarding turned on to activate routing?

cat /proc/sys/net/ipv4/ip_forwarding

1 is on, 0 is off. To turn it on:

echo 1 > /proc/sys/net/ipv4/ip_forwarding

There's probably a cleaner way to do this for slackware, but just putting that line into /etc/rc.local should be all thats needed, assuming that is the problem.

Darren.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top