Re: Network connection
On Mon, Aug 31, 1998 at 12:38:34PM +0200, Remo Badii wrote:
> Dear Peter,
>
> the file /etc/inet.d/netwerk contains
>
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.0
>
> I'll append
>
> route add -net my_IP netmask my_mask dev eth0
>
> Do I have to specify dev eth0? (My only way of connecting will be
> through this ethernet port, by the way).
> Thank you for your prompt and clear answer.
> Remo
My /etc/init.d/network file contains:
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
route add -net 192.168.1.0
Hope this helps!
Rafa
Reply to: