cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1153
Views
4
Helpful
6
Replies

telnet to secondary IP

mod0108537733
Level 1
Level 1

If I use private ip and public ip as secondary

router(config)#ip dhcp excluded-address 10.10.10.1 10.10.10.10

router(config)#ip dhcp pool LAN

                    network 10.10.10.0 255.255.255.0

                    default-router 10.10.10.1

                    dns-server 8.8.8.8 8.8.4.4

router(config)#interface Vlan1

                    ip address 5.5.5.5 255.255.255.240 secondary

                    ip address 10.10.10.1 255.255.255.0

                    ip nat inside

                    ip virtual-reassembly in

-any problem gonna be happen in my lan?

-can I telnet to this public ip from outside lan?

-can i use this public ip in vpn site to site vpn ?

thanks

Mahmoud

6 Replies 6

Umesh Shetty
Level 1
Level 1

-any problem gonna be happen in my lan?

No your LAN will work just fine 

-can I telnet to this public ip from outside lan?

If you decide to route the public IP to the rest of the network and its reachable from other parts of the network you can telnet this IP too.

-can i use this public ip in vpn site to site vpn ?

Yes you can

HTH

Regards

Umesh

Hello

Why would you want to do this, when you can just nat on that public ip to a lan ip thus hiding you lan from the outside.

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

pdriver wrote:

Hello

Why would you want to do this, when you can just nat on that public ip to a lan ip thus hiding you lan from the outside.

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.

thanks pdriver

Iam using 887va router thay act as adsl modem , i have one static public ip but i cant use it under my dialer interface while doing that the internet connection goes down so i need to use this public ip under any interface .i tried loopback interface but doesnt work

Umesh Shetty wrote:

-any problem gonna be happen in my lan?

No your LAN will work just fine 

-can I telnet to this public ip from outside lan?

If you decide to route the public IP to the rest of the network and its reachable from other parts of the network you can telnet this IP too.

-can i use this public ip in vpn site to site vpn ?

Yes you can

HTH

Regards

Umesh

Thank you  Umesh Shetty for your replay i appreciate that

but can you clearly explain that

-can I telnet to this public ip from outside lan?

If  you decide to route the public IP to the rest of the network and its   reachable from other parts of the network you can telnet this IP too.

tahnks

Mahmoud

John Blakley
VIP Alumni
VIP Alumni

Personally, I wouldn't do this. Considering that your vlan supports your switchports, I'd set aside one of those ports as a routed port and put your public address on the routed port and your private on the vlan.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

John Blakley wrote:

Personally, I wouldn't do this. Considering that your vlan supports your switchports, I'd set aside one of those ports as a routed port and put your public address on the routed port and your private on the vlan.

HTH,
John

*** Please rate all useful posts ***

Iam using 887va that doesnt support layer 3 ports only svi

Review Cisco Networking products for a $25 gift card