breakdown of what iam doing ok i have access to 6 ips and i want to run all of them through my firewall ifconfig eth0 209.159.32.162 netmask 255.255.255.0 up ifconfig eth0:1 209.159.32.163 netmask 255.255.255.0 up that sets up the network card to have 2 address well in shorewall i tried to add eth0:1 to my interfaces well it says that Determining Zones... Zones: inet inet2 loc cust vpn1 vpn2 vpn3 Validating interfaces file... Error: Invalid Interface Name: eth0:1 what am i doing wrong or what do i need to do? Marshal McInnis Tech / Web Designs 1-205-344-4455 Ext 208
Did you have a look at http://www.shorewall.net/Shorewall_and_Aliased_Interfaces.html? ----- Original Message ----- From: "Marshal McInnis" <Marshal@tgpc.us> To: <shorewall-users@lists.shorewall.net> Sent: Friday, March 25, 2005 3:49 PM Subject: [Shorewall-users] small issue with eth0:1 breakdown of what iam doing ok i have access to 6 ips and i want to run all of them through my firewall ifconfig eth0 209.159.32.162 netmask 255.255.255.0 up ifconfig eth0:1 209.159.32.163 netmask 255.255.255.0 up that sets up the network card to have 2 address well in shorewall i tried to add eth0:1 to my interfaces well it says that Determining Zones... Zones: inet inet2 loc cust vpn1 vpn2 vpn3 Validating interfaces file... Error: Invalid Interface Name: eth0:1 what am i doing wrong or what do i need to do? Marshal McInnis Tech / Web Designs 1-205-344-4455 Ext 208
do you have eth0:1 in your shorewall/interfaces file? That''s wrong as far as i can tell. Only define physical interfaces in that file unless you really want to have different hosts behind them in different zones. Also, consider using iproute2 to set up your network as ifconfig is very much inferior. Marshal McInnis wrote:>breakdown of what iam doing > >ok i have access to 6 ips and i want to run all of them through my >firewall >ifconfig eth0 209.159.32.162 netmask 255.255.255.0 up >ifconfig eth0:1 209.159.32.163 netmask 255.255.255.0 up >that sets up the network card to have 2 address well in shorewall i >tried to add >eth0:1 to my interfaces well it says that >Determining Zones... > Zones: inet inet2 loc cust vpn1 vpn2 vpn3 >Validating interfaces file... > Error: Invalid Interface Name: eth0:1 >what am i doing wrong or what do i need to do? > >Marshal McInnis Tech / Web Designs >1-205-344-4455 Ext 208 > > > >_______________________________________________ >Shorewall-users mailing list >Post: Shorewall-users@lists.shorewall.net >Subscribe/Unsubscribe: https://lists.shorewall.net/mailman/listinfo/shorewall-users >Support: http://www.shorewall.net/support.htm >FAQ: http://www.shorewall.net/FAQ.htm >
Marshal McInnis wrote:> breakdown of what iam doing > > ok i have access to 6 ips and i want to run all of them through my > firewall > ifconfig eth0 209.159.32.162 netmask 255.255.255.0 up > ifconfig eth0:1 209.159.32.163 netmask 255.255.255.0 up > that sets up the network card to have 2 address well in shorewall i > tried to add > eth0:1 to my interfaces well it says that>From /etc/shorewall/interfaces:# INTERFACE Name of interface. Each interface may be listed only # once in this file. You may NOT specify the name of # an alias (e.g., eth0:0) here; see # http://www.shorewall.net/FAQ.htm#faq18 # Is there something about the above instructions that is unclear to you??> Determining Zones... > Zones: inet inet2 loc cust vpn1 vpn2 vpn3 > Validating interfaces file... > Error: Invalid Interface Name: eth0:1 > what am i doing wrong or what do i need to do?You should read http://shorewall.net/Shorewall_and_Aliased_Interfaces.html. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key