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

Re: 2 IPs on 1 Network Card

On 29 Apr 2003 23:04:41 -0500
Stephen Hargrove <stephen@exitwound.org> wrote:

> This is a weird one, so hopefully someone out there has tread before me.
> eth0 is defined as  On that same NIC, I need to define
> eth0:0 as 216.63.319.43.  Here's my /etc/network/interfaces:

> auto eth0:0
> iface eth0:0 inet static
> 	address
> 	netmask
> 	network
> 	broadcast
> 	gateway
> This sets up fine, but I can't communicate out eth0:0.  I'm positive
> that it has something to do with the default gateway.

I've only done this once and it was a long time ago, but doesn't the second
interface need to be eth0:1?

As for the gateway, perhaps I need more fingers but it looks like your
gateway isn't on the same subnet as your host. I don't think that works


Reply to: