Using /mnt/kd/rc.elocal and defining a static IP alias should work, but if DHCP 
is required it gets messy.

Additionally, unless hand crafting iptables is your thing, AstLinux 0.7 is 
required to define the NAT firewall rules via Arno's firewall.

Rather than using "0/0" as the source NAT address, "eth0#0/0" limits the source 
to a specific interface or it's static ip address as "1.2.3.4#0/0"

Lonnie


On Nov 17, 2009, at 2:56 PM, Darrick Hartman wrote:

> Can't he do aliasing via rc.local?  Something like ifconfig eth0:1 1.2.3.4
> 
> While not supported out of the box, it should work. 
> Sent from my BlackBerry® wireless device from U.S. Cellular
> 
> -----Original Message-----
> From: "Chris Abnett" <eldorado...@yahoo.com>
> Date: Tue, 17 Nov 2009 15:20:49 
> To: 'AstLinux Users Mailing List'<astlinux-users@lists.sourceforge.net>
> Subject: Re: [Astlinux-users] VLANs - tried in rc.conf no luck
> 
> So there is no way to do what I want to do?  I am out of physical interfaces
> on my Astlinux box..  and I want to point a domain name to a webserver
> running behind..  however I need to use 2 publicc IP;s as there is already
> another website running behind on that server....  
> -Christopher
> 
> -----Original Message-----
> From: Philip A. Prindeville [mailto:philipp_s...@redfish-solutions.com] 
> Sent: Tuesday, November 17, 2009 2:48 PM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] VLANs - tried in rc.conf no luck
> 
> What you want is aliases interfaces, not VLANs.  We don't support aliasing.
> 
> 
> Chris Abnett wrote:
>> Ok here is what I am trying to do...  first off.. im running astlinux
>> 0.6-2580 release.. 
>> 
>> I want to get 2 public IP's on one physical interface via DHCP.. so here
> is
>> what I did..
>> 
>> In my rc.conf I set up
>> VLANS="eth0.60"
>> 
>> Then EXT2IF=eth0.60
>> 
>> And then
>> EXT2IFMAC="00:01:29:d2:01:7c"
>> 
>> To set the MAC address different than the real physical interface..  I
> saved
>> it in my /mnt/kd/rc.conf file
>> Then I rebooted the machine..
>> 
>> Came back up  but doing and ifconfig doesn't show my new eth0.60 as an
>> interface..  do I need to make a bridge for it?
>> 
>> How do I set an interface as type dhcp and not static..  just not put in
>> static parameters?
>> 
>> I don't need any physical tagging on that VLAN.. I mainly just want it so
> I
>> can have multiple DHCP addresses on one physical adapter using different
> MAC
>> addresses..
>> 
>> 
>> -Christopher
>> 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to