10-14-2008 05:22 AM - edited 03-03-2019 11:55 PM
Good morning Folks,
I have this situation
PC1 -> router A - router B -> pc2
where:
PC1=192.168.1.1
router A (eth)=192.168.1.100
router A (serial) = x25 123
router B (serial) = x25 789
router B (eth) = 192.168.2.100
PC2= 192.168.2.1
Now I can use a "translate" and start a telnet session from pc1 to router B, but what I need is start a telnet session from pc1 to pc2.
What I have to do? a translate on route B? How?
Thanks
10-14-2008 07:39 AM
Have a look at the below:-
http://www.cisco.com/en/US/tech/tk713/tk730/technologies_configuration_example09186a0080093c0e.shtml
HTH>
10-14-2008 08:16 AM
I need TCP over X25.
About the file attached, I can connect from PC A to router B, and I can connect from router A to PC B, but I can't connect from pc A to pc B. (I'm using apache for this test)
that is my routers configurations:
show conf
Using 891 out of 245752 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
!
x25 routing
!
!
!
interface FastEthernet0/0
ip address 192.168.1.100 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
encapsulation x25 dce
no ip mroute-cache
x25 address 123
!
interface Serial0/0/1
no ip address
shutdown
clock rate 125000
!
ip classless
!
ip http server
!
!
translate x25 123 tcp 192.168.1.1 port 8080
access-list 100 permit icmp any any
access-list 100 permit tcp any any
x25 route 789 interface Serial0/0/0
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
!
end
Router#
and the another router:
show conf
Using 891 out of 245752 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
x25 routing
!
!
!
interface FastEthernet0/0
ip address 192.168.0.100 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
encapsulation x25 dce
no ip mroute-cache
x25 address 789
!
interface Serial0/0/1
shutdown
clock rate 125000
!
ip classless
!
ip http server
!
!
translate x25 123 tcp 192.168.1.1 port 8080
access-list 100 permit icmp any any
access-list 100 permit tcp any any
x25 route 789 interface Serial0/0/0
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
Router#
10-14-2008 09:59 AM
anyone?
10-14-2008 10:52 AM
I got it!, but when I open my page it came with tcp header too, not the correct page.
Is it a problem of encapsulation? How can I resolve this?
10-14-2008 09:51 PM
here is an example to route TCP/IP over x25 network:
!
interface Ethernet0
ip address 194.147.160.254 255.255.255.0
!
interface Serial0
ip address 192.1.1.1 255.255.255.0
encapsulation x25
x25 address 133014389
x25 htc 2
x25 idle 1
x25 nvc 2
x25 map ip 192.1.1.2 112010132
(remote wan) (remote x25)
!
ip route 193.1.1.0 255.255.255.0 192.1.1.2
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: