It is currently Thu Feb 25, 2021 7:41 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Connection problems with tap0 interface
PostPosted: Fri Nov 16, 2012 8:15 pm 
Offline

Joined: Fri Nov 16, 2012 7:51 pm
Posts: 4
Hi,

I started working with gns3 a few time ago and I followed the tutorial provided at the website but i'm having a problem with the connection of gns3 to a real network. I'm working with Ubuntu and I configured the loopback adapter (tap0 interface) as follows:

•[root]#modprobe tun
•[root]#tunctl
•[root]#ifconfig tap0 10.100.100.100 netmask 255.255.255.0 up

I didn't have any problems with this but, for example, in the next topology I can ping from my computer (tap0 interface) to the interface of the router in the same network (fastethernet0/0) but i cannot ping to any interface in other network (neither serial1/0 of router1 or router2).

<computer>(tap0 interface)----------------(fastethernet0/0)<router1>(serial1/0)----------------(serial1/0)<router 2>

I enabled the RIP protocol in both router 1 and router 2. I found a solution: define the interface fastethernet0/0 as default gateway for the computer. But the problem is that the whole traffic is redirected to there and I lose the Internet connection. Can anyone find any other solution for this? I would really appreciate.




Top
 Profile  
 
 Post subject: Re: Connection problems with tap0 interface
PostPosted: Mon Nov 26, 2012 5:58 am 
Offline

Joined: Tue Feb 14, 2012 8:30 am
Posts: 35
enable NAT on R1 ;)

Best Regards,
Sikas.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO