SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just setup a home network with slackware box as a firewall/http/etc server. It has two network cards one outward and one inward. Outward my ISP uses DHCP and inward it is at 10.1.10.0. I have a firewall built with iptables that also nats any computer on my internal network. I have one other system on my internal network. I set it up with an ip of 10.1.10.1, netmask 255.255.255.0, and the gateway as 10.1.10.0. When on my 10.1.10.1 system in Gentoo everything works like it should, no problems what so ever. However when I am in Slackware I cannot reach anything on the net. I can ping my gateway, but I cannot login to it through ssh (not a problem in Gentoo).
Does anyone have any idea what my problem could be? I checked route and the gateway is configured. The driver for my network card is built in to the kernel as it is in gentoo, and when I do 'ifconfig' it shows that eth0 is active. I guess the fact that I can ping the gateway proves that.
the *.*.*.* are actually IP addresses. I have that from before. I only had the Gentoo/Slack box hooked up to the net (straight into cable modem). And all of it was written by dhcpcd.
I don't get it... you've the same configuration on Slackware and Gentoo?
It should work if you do.
Check the output of ifconfig -a and route maybe your forgot the gateway.
Slackware could have given a warning. The .0 address has come to be reserved for network name and .255 is subnet broadcast. The convention is to make the gateway either .1 or .254
i've had to manually add my default gateway several times in slackware, even though it's specified in /etc/rc.d/rc.inet1.conf. sometimes it just gets left out or something. could be something to do with assigning a static ip on a dhcp network maybe? i have no idea. most of the time it's fine though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.