All of lore.kernel.org
 help / color / mirror / Atom feed
* problems with alias
@ 2004-07-16 10:00 Batstru
  2004-07-16 10:45 ` Antony Stone
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Batstru @ 2004-07-16 10:00 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]

Hi all!
I changed my server running redhat9 (kernel 2.4.x) with a new one with
fedora core 2 (kernel 2.6.x): each one has  2 ethernet interfaces, so I copy
network configuration fron rh9 to fc2 

eth0 --> 192.168.1.254 / 255.255.255.0
eth1 --> 82.186.92.90 / 255.255.255.254
eth1:1 --> 82.186.92.91 / 255.255.255.254
eth1:2 --> 82.186.92.92 / 255.255.255.254
eth1:3 --> 82.186.92.93 / 255.255.255.254
eth1:4 --> 82.186.92.93 / 255.255.255.254
also, I copy and apply iptables configuration but it does not work well.
now iptables doesn\'t apply rules to virtual interfaces, eth1...eth4.
a line of my configiguration files is:
-A INPUT -p tcp -m tcp -m state -d 82.186.92.91 --dport 20 --state NEW -j
ACCEPT
I tried different rules configuration but it still not work.

can you help me? 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Lerboristeria.biz: per la tua bellezza e salute il miglior assortimento 
di prodotti erboristici ed oggettistica online

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2152&d=20040716


[-- Attachment #2: Type: text/html, Size: 1355 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: problems with alias
@ 2004-07-16 12:47 Batstru
  0 siblings, 0 replies; 5+ messages in thread
From: Batstru @ 2004-07-16 12:47 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

sorry.. 
the correct subnet mask is the following...

eth0 --> 192.168.1.254 / 255.255.255.0
eth1 --> 82.186.92.90 / 255.255.255.248
eth1:1 --> 82.186.92.91 / 255.255.255.248
eth1:2 --> 82.186.92.92 / 255.255.255.248
eth1:3 --> 82.186.92.93 / 255.255.255.248
eth1:4 --> 82.186.92.93 / 255.255.255.248

marco


--------- Original Message --------
Da: netfilter@lists.netfilter.org
To: \"netfilter@lists.netfilter.org\" <netfilter@lists.netfilter.org>
Oggetto: Re: problems with alias
Data: 16/07/04 12:48



On Friday 16 July 2004 11:00 am, Batstru wrote:

> Hi all!
> I changed my server running redhat9 (kernel 2.4.x) with a new one with
> fedora core 2 (kernel 2.6.x): each one has 2 ethernet interfaces, so I
> copy network configuration fron rh9 to fc2
>
> eth0 --> 192.168.1.254 / 255.255.255.0
> eth1 --> 82.186.92.90 / 255.255.255.254
> eth1:1 --> 82.186.92.91 / 255.255.255.254
> eth1:2 --> 82.186.92.92 / 255.255.255.254
> eth1:3 --> 82.186.92.93 / 255.255.255.254
> eth1:4 --> 82.186.92.93 / 255.255.255.254

These combinations of address/netmask make no sense to me.

The netmask 255.255.255.254 defines a 2-host subnet (basically, a 
point-to-point link, although those are normally specified using a full 
32-bit all-1\'s netmask). Therefore if you have 82.186.92.90 on an interface

with a 255.255.255.254 netmask, the only machine it will be capable of 
talking to at the other end of the cable is 82.186.92.91.

Putting that address (.91), as well as several others which fall in
different 
address ranges, onto the same phyical interface makes no sense to me.

Regards,

Antony.

-- 
Anyone that\'s normal doesn\'t really achieve much.

- Mark Blair, Australian rocket engineer

Please reply to the list;
please don\'t CC me. 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 I migliori vini a prezzi imbattibili e per ogni acquisto speciali omaggi!
Clicca e prova la convenienza ora!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2624&d=20040716


[-- Attachment #2: Type: text/html, Size: 2695 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-16 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-16 10:00 problems with alias Batstru
2004-07-16 10:45 ` Antony Stone
2004-07-16 10:50 ` George Alexandru Dragoi
2004-07-16 13:05 ` Jamie Pratt
  -- strict thread matches above, loose matches on Subject: below --
2004-07-16 12:47 Batstru

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.