I've a got a network here that was configured to have 12.110.x.x and 172.16.x.x on the same network. Don't asked just trust me
... Anyways I'm going into a linux box with this to route traffic to 2 additional networks 10.62.x.x and 192.168.x.x. Since 12.110.x.x and 172.16.x.x are on the same network is it possible to setup one NIC to do the job? There is no reason to have 2 cat5 cables plugged into the switch. The 12.110.x.x is our internet connection and the 172.16.x.x is an internal corporate network. I want to block incoming traffic on both of these with the firewalll which I can do. I just need to figure out how to add both IPs to one NIC!
Is it possible? If so how do I go about configing this?
** EDITIED 07/15/2004 @ 13:15 PST **
- I found I can do 'ifconfig eth0:1 172.16.x.x' and assign that to the already existing eth0 which is 12.110.x.x. However I can not ping this address. Although if the ip is on it's own NIC I can ping it. What gives?
** EDITIED 07/15/2004 @ 13:30 PST **
I get the following message in my firewall logs:
Jul 15 13:24:10 sunset kernel: SuSE-FW-ILLEGAL-TARGET IN=eth2 OUT= MAC=00:00:d1:f0:1c:cd:00:40:ca:70:29:83:08:00 SRC=x.x.x.x DST=x.x.x.x LEN=60 TOS=0x00 PREC=0x00 TTL=128 ID=24749 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=10240
I can however ping this virtual ip on the linux box and get a reply!?!?!
** EDITIED 07/15/2004 @ 13:51 PST **
DUH! forgot to edit the firewall! Doing some testing now to see if this works.