[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to connect two PC's with a cross-over ethernet cable?



On Sat, 2004-08-21 at 22:08, John Floren wrote:
> Bram Mertens wrote:
[...]
> Here is what I would do if I had two computer connected by crossover and 
> a ppp connection to the internet:
> /etc/network/interfaces:
> auto lo eth0
> 
> iface lo inet loopback
> 
> iface eth0 inet static
>          address 192.168.1.1
>          netmask 255.255.255.0
>          broadcast 192.168.1.255

Why do I need to add the broadcast address?

Can the ppp0 configuration be left out because I can use pon
dsl-provider to achie the same as ifup ppp0 in my example?

TIA
-- 
# Mertens Bram "M8ram"   <bram-mertens@linux.be>   Linux User #349737 #
# SuSE Linux 8.2 (i586)     kernel 2.4.20-4GB      i686     512MB RAM #
# 10:13pm  up 14 days 12:03,  11 users,  load average: 0.17, 0.10, 0.08 #



Reply to: