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

Re: dial-up to ethernet



Kent West said:

  "the appropriate under-the-hood processes 
take place."

  Well, unfortunately, it didn't quite work out that 
way.  In fact, ifup would not work at all with 
/etc/network/interfaces configured like that .  The 
following is exactly what I did to 
/etc/network/interfaces:

# iface eth0 inet static
#	address 192.168.1.1
#	netmask 255.255.255.0
#	network 192.168.1.0
#	broadcast 192.168.1.255
#	gateway 192.168.1.2
iface eth0 inet dhcp

When it would not come up that way, I tried (just 
replacing static with dhcp):

iface eth0 inet dhcp
	address 192.168.1.1
	netmask 255.255.255.0
	network 192.168.1.0
	broadcast 192.168.1.255
 gateway 192.168.1.2

Unfortunately, that would not come up either.  
When I put it back to the way it started (static in 
the first line), then it came up again.

BTW, I'm not sure how relevant to the problem it 
is, but once the interface was back up I 
managed to ping 192.168.1.1 and 192.168.1.0 
and 192.168.1.255, but *not* 192.168.1.2.  Or 
outside numbers.

Mike








Reply to: