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

RE: firewall setup - firewall newbie



> On Mon, May 10, 2004 at 12:34:07PM -0400, Edward Chase wrote:
> > > # ifconfig -a
> > > eth0      Link encap:Ethernet  HWaddr 00:60:08:35:05:0C  
> > >           inet addr:10.1.50.27  Bcast:10.1.255.255
> Mask:255.255.0.0
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> 
> ...
> 
> > > eth1      Link encap:Ethernet  HWaddr 00:20:AF:99:98:2A  
> > >           inet addr:192.168.50.1  Bcast:192.168.50.255 
> > > Mask:255.255.255.0
> > >           BROADCAST MULTICAST  MTU:1500  Metric:1
> 	      ^
> 	      No "UP" here.
> 
> 
> 


> -----Original Message-----
> From: dmaxwell@turinglabs.com
> [mailto:dmaxwell@turinglabs.com] On Behalf Of Douglas Maxwell
> Sent: Monday, May 10, 2004 12:50 PM
> To: debian-firewall@lists.debian.org
> Subject: Re: firewall setup - firewall newbie
> 
> > The interface appears to be configured, but not active. Try
> "ifconfig eth1 up". Do you have "auto eth1" in your
> /etc/network/interfaces?
> 
> Doug


I hadn't noticed that... (not being up)  I can ping it... (from the local
console only)

Yes, it is "auto eth1".

Here's my /etc/network/interfaces

auto eth0
iface eth0 inet static
        address 10.1.50.27
        netmask 255.255.0.0
        network 10.1.0.0
        broadcast 10.1.255.255
        gateway 10.1.1.10

auto eth1
iface eth1 inet static
        address 192.168.50.1
        netmask 255.255.255.0
        network 192.168.50.0
        broadcast 192.168.50.255
#        gateway 10.1.1.10
        up route add -net 192.168.50.0 netmask 255.255.255.0 gw 192.168.50.1
#     up route add default gw 192.168.1.200
#     down route del default gw 192.168.1.200
        down route del -net 192.168.50.0 netmask 255.255.255.0 gw
192.168.50.1

Also...

# ifconfig eth1 up
SIOCSIFFLAGS: Device or resource busy

I just noticed... Interrupt 5 in both cases for the nic...  That could be an
issue, yes?




Reply to: