On Wednesday 30 March 2005 15:40, andy enlightened us thusly:
> Greetings
>
> Just a quick question: I am running an OpenBSD firewall in front of a
> LAN with several Slack boxes. The Speedtouch modem is dealing with
> all the pppoe/a stuff, and the Internet facing eth0 is configured as
> the "inside" IP address of the modem 10.0.0.138. My LAN is hooked up
> to the firewall using the address 192.168.1.1 on the LAN-facing NIC
> using the 192.168.1.* subnet.
> Question is: I am struggling getting the routing for this right. In
> /etc/rc.d/rc.inet1 I am adding the static route as follows:
> route add -inet 10.0.0.138 netmask 255.255.255.0 gw 192.168.1.1
>
> This is being rejected when I restart rc.inet1. What am I goofing up?
> Is it the netmask, or is the routing just plain bad?

route add 10.0.0.138 netmask 255.255.255.0 gw 192.168.1.1

10.0.0.138 if a single IP address, I presume. Moreover, the netmask
doesn't work. Try 255.0.0.0.

Kurt
_______________________________________________
Slackware mailing list
[email protected]
http://www.kurtwerks.com/mailman/listinfo/slackware

Reply via email to