-
کمک تنظیم روتر
من اینتر نت رو از طریق کامپیوتر شر کرده و با روتر دایل اپ سرویس میدم
کلاینتها روتر را پینگ کرده ولی گت وی اصلی رو که کامپیوتر اول است پینگ نمی کنند مشکل کارم کجاست ؟
ip computer gate 192.168.0.1
ip interface router 192.168.0.5
ip pool 192.168.1.0
ip default gateway 192.168.0.5
-
باید Next hub را تعریف کنی که Packet ها به سمت کامپیوتر مورد نظر هدایت شوند.
-
یعنی باید ادرس رو روت کنم ؟
این کار رو هم کردم ولی نشد
next hop از روتر همون دروازه اصلی است
-
دوست عزیز شما
ip route رو تو روتر تعریف کردید
برای همه ip ای ها؟
-
بله برای همه ip ها ولی همه ادرسها توی یک ماسک هستند
-
کانفیگ
[left]این کانفیگ دستگاست [/left]
[left][RTL] Building configuration... [/left]
[left]Current configuration : 3201 bytes [/left]
[left]! [/left]
[left]version 12.4 [/left]
[left]no service pad [/left]
[left]service timestamps debug datetime msec [/left]
[left]service timestamps log datetime msec [/left]
[left]service password-encryption [/left]
[left]! [/left]
[left]hostname router [/left]
[left]! [/left]
[left]boot-start-marker [/left]
[left]boot-end-marker [/left]
[left]! [/left]
[left]security authentication failure rate 3 log [/left]
[left]security passwords min-length 6 [/left]
[left]logging buffered 51200 warnings [/left]
[left]enable secret 5 ------------[/left]
[left]enable password 7 --------------[/left]
[left]! [/left]
[left]aaa new-model [/left]
[left]! [/left]
[left]! [/left]
[left]aaa authentication login default local [/left]
[left]aaa authentication ppp default if-needed local [/left]
[left]! [/left]
[left]aaa session-id common [/left]
[left]! [/left]
[left]resource policy [/left]
[left]! [/left]
[left]clock timezone PCTime 3 30 [/left]
[left]clock summer-time PCTime date Mar 22 2003 12:00 Sep 22 2003 12:00 [/left]
[left]ip subnet-zero [/left]
[left]no ip source-route [/left]
[left]ip cef [/left]
[left]! [/left]
[left]! [/left]
[left]! [/left]
[left]! [/left]
[left]no ip bootp server [/left]
[left]ip domain name jame.ir [/left]
[left]ip name-server 192.168.0.2 [/left]
[left]ip name-server 192.9.9.3 [/left]
[left]ip name-server 62.32.32.26 [/left]
[left]async-bootp dns-server 1 [/left]
[left]! [/left]
[left]username user1 privilege 15 secret 5 ------------[/left]
[left]username user2 privilege 7 password 7 -----------! [/left]
[left]! [/left]
[left]! [/left]
[left]interface Loopback0 [/left]
[left]ip address 192.168.1.5 255.255.255.0 [/left]
[left]ip route-cache flow [/left]
[left]! [/left]
[left]interface Loopback1 [/left]
[left]no ip address [/left]
[left]! [/left]
[left]interface GigabitEthernet0/0 [/left]
[left]description $ETH-LAN$ETH-SW-LAUNCH$INTF-INFO-GE 0/0$ES_LAN$FW_INSIDE$ [/left]
[left]ip address 192.168.0.5 255.255.255.0 [/left]
[left]no ip redirects [/left]
[left]no ip unreachables [/left]
[left]no ip proxy-arp [/left]
[left]ip nat outside [/left]
[left]duplex auto [/left]
[left]speed auto [/left]
[left]media-type rj45 [/left]
[left]negotiation auto [/left]
[left]no mop enabled [/left]
[left]! [/left]
[left]interface GigabitEthernet0/1 [/left]
[left]no ip address [/left]
[left]no ip redirects [/left]
[left]no ip unreachables [/left]
[left]no ip proxy-arp [/left]
[left]shutdown [/left]
[left]duplex auto [/left]
[left]speed auto [/left]
[left]media-type rj45 [/left]
[left]negotiation auto [/left]
[left]no mop enabled [/left]
[left]! [/left]
[left]interface Group-Async0 [/left]
[left]ip unnumbered Loopback0 [/left]
[left]ip mask-reply [/left]
[left]ip nat inside [/left]
[left]encapsulation ppp [/left]
[left]ip route-cache flow [/left]
[left]async mode interactive [/left]
[left]peer default ip address pool dialpool [/left]
[left]ppp authentication pap chap callin [/left]
[left]group-range 1/0 1/15 [/left]
[left]! [/left]
[left]router rip [/left]
[left]passive-interface GigabitEthernet0/0 [/left]
[left]passive-interface Loopback0 [/left]
[left]network 192.168.0.0 [/left]
[left]no auto-summary [/left]
[left]! [/left]
[left]ip local pool dialpool 192.168.1.10 192.168.1.100 [/left]
[left]ip local pool addr-pool 192.168.0.200 192.168.0.254 [/left]
[left]ip default-gateway 192.168.0.5 [/left]
[left]no ip classless [/left]
[left]ip route 192.168.0.0 255.255.255.0 GigabitEthernet0/0 permanent [/left]
[left]ip route 192.168.1.0 255.255.255.0 GigabitEthernet0/0 permanent [/left]
[left]! [/left]
[left]ip http server [/left]
[left]ip http authentication local [/left]
[left]ip http timeout-policy idle 5 life 86400 requests 10000 [/left]
[left]! [/left]
[left]no cdp run [/left]
[left]! [/left]
[left]control-plane [/left]
[left]! [/left]
[left]banner login ^CAuthorized access only! [/left]
[left]Disconnect IMMEDIATELY if you ar [/left]
[left]! [/left]
[left]line con 0 [/left]
[left]transport output telnet [/left]
[left]stopbits 1 [/left]
[left]line aux 0 [/left]
[left]transport output telnet [/left]
[left]stopbits 1 [/left]
[left]line 1/0 [/left]
[left]session-timeout 30 [/left]
[left]absolute-timeout 480 [/left]
[left]accounting connection user1 [/left]
[left]modem InOut [/left]
[left]modem autoconfigure discovery [/left]
[left]autocommand ppp [/left]
[left]international [/left]
[left]transport input all [/left]
[left]autoselect during-login [/left]
[left]autoselect ppp [/left]
[left]autohangup [/left]
[left]flowcontrol hardware [/left]
[left]line 1/1 1/15 [/left]
[left]session-timeout 30[/left]
[left]absolute-timeout 480[/left]
[left]modem InOut[/left]
[left]modem autoconfigure discovery[/left]
[left]autocommand ppp[/left]
[left]international[/left]
[left]transport input all[/left]
[left]autoselect during-login[/left]
[left]autoselect ppp[/left]
[left]autohangup[/left]
[left]flowcontrol hardware[/left]
[left]line vty 0 4[/left]
[left]privilege level 15[/left]
[left]password 7 095E5A0D140B4640[/left]
[left]transport input telnet[/left]
[left]line vty 5 15[/left]
[left]privilege level 15[/left]
[left]transport input none[/left]
[left]![/left]
[left]scheduler allocate 20000 1000[/left]
[left]![/left]
[left]end[/left]
[left][/RTL] [/left]
-
شما این دستور رو اضافه کن
ip route 0.0.0.0 0.0.0.0
اگه حل نشد یه route-map بنویس
و ip ای های client ها رو next hop کن به gateway اصلی
-
[LTR] کانفیگی که دادم ایراد نداره ؟
گرفته میشه چطوری روت مپ کنم ؟ pool کلاینتها از ip
میشه لطفا دقیق تر بنویسین ؟
[/LTR]
-
یوزرات dial up هستن؟
یه access-list برای رنج ip ای های
client ها بنویس بعد route-map روبرای این access-list تعریف کن
-
-