Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pix Firewall

Status
Not open for further replies.

kapupu

Technical User
Sep 4, 2010
20
US
I starting to learn about Pix Firewall & I have some issue with it that I need some advice. My Pix is version 6.1(1) The issue that I am having is that when I'm trying to type interface ethernet0 it still put me in global configuration mode. I could never get me into the interface configuration mode. Is there any reason why? Thank in advance.

 
PIX configs don't work the same as Cisco routers or switches, there really isn't a "interface config" level. If you're trying to set speed or duplex, for example, you'd do it all on one line:
Code:
int eth0 100full

You'd also apply a name to the interface:
Code:
nameif ethernet0 outside security0
then other statements would be applied using the name:
Code:
icmp permit any outside
 
from configuration mode how do you enter interface mode then?
 
Perhaps I wasn't clear before - there isn't an "interface mode" when configuring a PIX.
 
ok maybe there is not interface mode but what will this command do?

pixfirewall(config)#interface ethernet0

the result should be
pixfirewall(config-if)#

my pix return this pixfirewall(config)# which keep me in configuration mode?
how do you config an IP address for pix?
 
The command "int ethernet0" won't give you a "config-if" prompt; like I said, there isn't a config-if level in a PIX.

You'd assign a IP address like this:
Code:
nameif ethernet1 inside
ip address inside 192.168.1.1 255.255.255.0

Once you name an interface, you apply commands against the name, e.g.
Code:
"route outside 0.0.0.0 0.0.0.0 a.b.c.d 1"
(where a.b.c.d is the ip address of the outside interface's default gateway) creates a default route going outbound.
 
this should be in the PIX forum

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top