Interfaces کو نام دیں، security levels assign کریں، اور static routing کنفیگر کریں تاکہ ASA inside، outside اور DMZ networks کے درمیان route کر سکے۔
Interfaces ko naam do, security levels assign karo, aur static routing configure karo taake ASA inside, outside aur DMZ networks ke darmiyan route kar sake.
Name interfaces, assign security levels, and configure static routing so the ASA can route between inside, outside, and DMZ networks.
Security levels دفتر کی منزلوں جیسے ہیں: منزل 100 (inside) executive suite ہے، منزل 0 (outside) گلی ہے۔ نیچے آرام سے جا سکتے ہیں، لیکن اوپر جانے کے لیے گارڈ کی اجازت (ACL) چاہیے۔
Security levels office ki manzilon jaisay hain: manzil 100 (inside) executive suite hai, manzil 0 (outside) gali hai. Neeche aaram se ja sakte ho, lekin upar jane ke liye guard ki ijazat (ACL) chahiye.
Security levels are like floors in an office: floor 100 (inside) is the executive suite, floor 0 (outside) is the street. You can walk downstairs freely, but going up needs the guard's permission (an ACL).

ASAv میں تین data interfaces: GigabitEthernet0/0 (inside LAN 10.1.1.0/24)، GigabitEthernet0/1 (outside 203.0.113.0/24 کی طرف، gateway 203.0.113.1)، GigabitEthernet0/2 (DMZ 172.16.1.0/24)۔
ASAv mein teen data interfaces: GigabitEthernet0/0 (inside LAN 10.1.1.0/24), GigabitEthernet0/1 (outside 203.0.113.0/24 ki taraf, gateway 203.0.113.1), GigabitEthernet0/2 (DMZ 172.16.1.0/24).
ASAv with three data interfaces: GigabitEthernet0/0 (inside LAN 10.1.1.0/24), GigabitEthernet0/1 (outside toward 203.0.113.0/24, gateway 203.0.113.1), GigabitEthernet0/2 (DMZ 172.16.1.0/24).
G0/0 کو 'inside' نام دیں، security level 100 (سب سے trusted) دیں، IP assign کریں، اور up کریں۔
G0/0 ko 'inside' naam do, security level 100 (sab se trusted) do, IP assign karo, aur up karo.
Name G0/0 'inside', give it security level 100 (most trusted), assign its IP, and bring it up.
interface FastEthernet0/0nameif insidesecurity-level 100ip address 10.1.1.1 255.255.255.0no shutdownexitG0/1 کو 'outside' نام دیں security level 0 (سب سے کم trusted) کے ساتھ — یہ internet کی طرف والا interface ہے۔
G0/1 ko 'outside' naam do security level 0 (sab se kam trusted) ke sath — ye internet ki taraf wala interface hai.
Name G0/1 'outside' with security level 0 (least trusted) — this is the interface facing the internet.
interface FastEthernet0/1nameif outsidesecurity-level 0ip address 203.0.113.2 255.255.255.0no shutdownexitG0/2 کو 'dmz' نام دیں security level 50 کے ساتھ۔ DMZ inside اور outside کے درمیان ہوتا ہے — internet سے زیادہ trusted، LAN سے کم۔
G0/2 ko 'dmz' naam do security level 50 ke sath. DMZ inside aur outside ke darmiyan hota hai — internet se zyada trusted, LAN se kam.
Name G0/2 'dmz' with security level 50. A DMZ sits between inside and outside — trusted more than the internet, less than the LAN.
interface FastEthernet0/2nameif dmzsecurity-level 50ip address 172.16.1.1 255.255.255.0no shutdownexitISP gateway کی طرف outside interface سے default route add کریں۔ اس کے بغیر ASA internet تک نہیں پہنچ سکتا۔
ISP gateway ki taraf outside interface se default route add karo. Iske baghair ASA internet tak nahi pahunch sakta.
Add a default route out the outside interface toward the ISP gateway. Without this, the ASA cannot reach the internet.
route outside 0.0.0.0 0.0.0.0 203.0.113.1 1Inside کے remote subnet (192.168.5.0/24) کے لیے inside next-hop 10.1.1.254 via static route add کریں۔
Inside ke remote subnet (192.168.5.0/24) ke liye inside next-hop 10.1.1.254 via static route add karo.
Add a static route for a remote inside subnet (192.168.5.0/24) via the inside next-hop 10.1.1.254.
route inside 192.168.5.0 255.255.255.0 10.1.1.254 1🖱️ ASDM: Configuration > Device Setup > Routing > Static Routes — routes graphically add/view کریں۔ASDM: Configuration > Device Setup > Routing > Static Routes — routes graphically add/view karo.ASDM: Configuration > Device Setup > Routing > Static Routes — add/view routes graphically.
Configuration save کریں۔
Configuration save karo.
Save the configuration.
write memoryتینوں interfaces correct IPs کے ساتھ up/up ہوں، `show nameif` میں inside/outside/dmz list ہوں، اور `show route` میں default اور static routes نظر آئیں۔
Teeno interfaces correct IPs ke sath up/up hon, `show nameif` mein inside/outside/dmz list hon, aur `show route` mein default aur static routes nazar aain.
All three interfaces are up/up with correct IPs, `show nameif` lists inside/outside/dmz, and `show route` shows the default and static routes.
show interface ip briefshow nameifshow route