PDA

Επιστροφή στο Forum : Secondary IP



eXpLoDeR
24-12-08, 12:35
Γεια χαρά βάζω Secondary IP σε εναν 876 και κανω ping απο το pc κανονικά στην δευτερη ΙΡ .. Οταν όμως ζητάω internet δεν μου δίνει για κάποιο λόγο, μηπως πρεπει να κάνω καποιου είδους brige στο Vlan?

karavagos
24-12-08, 12:56
Μήπως δε την κάνεις nat την secondary?
Δώσε το full config και βλέπουμε :)

eXpLoDeR
24-12-08, 13:25
Here it is...




version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname blah
!
boot-start-marker
boot-end-marker
!
enable secret 5
!
no aaa new-model
!
resource policy
!
memory-size iomem 15
ip cef
!
!
!
!
ip name-server 194.30.220.114
!
isdn switch-type basic-net3
!
crypto pki trustpoint TP-self-signed-1345148535
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1345148535
revocation-check none
rsakeypair TP-self-signed-1345148535
!
!
crypto pki certificate chain TP-self-signed-1345148535
certificate self-signed 01
30820241 308201AA A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31333435 31343835 3335301E 170D3032 30333132 31393433
31345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 33343531
34383533 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100AA23 A8919B29 080B192C D0DD3AA8 12512E22 1BFC2DAE E978866F A3B9C9D9
FB22168A 8F3ABEBD C5410C2B 0D7EC523 8E8B4B4B FE1C706C 9E01C032 7CD48D0D
099C5402 EE7BA182 33E422CA 82A99DA0 FDCC1203 99BF03B9 5816E6A2 78F0BAA4
B6057063 635275B5 C8B6F28D F7F52F4A 03F6B4BA 61F1E7A5 5D7D3FEF 050A5DB7
B7A50203 010001A3 69306730 0F060355 1D130101 FF040530 030101FF 30140603
551D1104 0D300B82 09425257 5F546974 616E301F 0603551D 23041830 16801415
BC8BF10B D41A1C42 4650E916 F8CEBCC1 F2881830 1D060355 1D0E0416 041415BC
8BF10BD4 1A1C4246 50E916F8 CEBCC1F2 8818300D 06092A86 4886F70D 01010405
00038181 0040FF73 EF2CA120 995EDCA4 B589B492 D2BBC30F 02363D88 665E8148
BEC0CBED F3F1B0C5 62E436E1 1FBBAA96 0021515B DF0ACBB4 C462F470 731803C7
6B217141 191CE130 C80A2C20 77BB447B 59932907 62357EBF F0B8B81B B29EF350
75B46818 098D5D62 33591F50 6A67BEF3 729D93E2 7EB4CD95 84E82FEF D2098BF1
D07B8234 00
quit
!
!
!
!
!
!
interface BRI0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer idle-timeout 300
dialer string 8962577777
dialer-group 1
isdn switch-type basic-net3
isdn point-to-point-setup
no cdp enable
ppp pap sent-username .................
!
interface ATM0
backup interface BRI0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.0.121 255.255.255.0 secondary
ip address 172.16.1.121 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer1
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp pap sent-username ................
!
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 172.16.1.0 255.255.255.0 172.16.1.1
!
!
ip http server
ip http authentication local
ip http secure-server
ip nat source static tcp 172.16.1.172 3389 interface Dialer1 3389
ip nat source static tcp 172.16.1.210 80 interface Dialer1 80
ip nat source static tcp 172.16.1.174 5800 interface Dialer1 5800
ip nat source static tcp 172.16.1.174 5900 interface Dialer1 5900
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 172.16.1.0 0.0.0.255
!
!
!
!
control-plane
!
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
login local
!
scheduler max-task-time 5000
!
webvpn context Default_context
ssl authenticate verify all
!
no inservice
!
end

euri
24-12-08, 13:32
Αν προσθέσεις στην access list 1 το εξής:


access-list 1 permit 192.168.0.0 0.0.0.255

υποθέτω θα γίνει η δουλειά σου.

eXpLoDeR
24-12-08, 14:02
:oops:

nsek
27-12-08, 23:06
Γιατί έχω την εντύπωση ότι έχεις λάθος static route; :hmm:

mitron
26-01-09, 11:32
Γιατί έχω την εντύπωση ότι έχεις λάθος static route; :hmm:

και εμένα κατι δεν μου πάει καλά με το "ip route 172.16.1.0 255.255.255.0 172.16.1.1"
:hmm:

cprotopapas
26-01-09, 12:43
Βγάλε αυτά τα $)@)_$_ certificates:p

@ ADSLgr.com All rights reserved.