On Sat, Jun 28, 2008 at 8:06 PM, Amit k. Saha <amitsaha.in at gmail.com> wrote: > On Sat, Jun 28, 2008 at 7:55 PM, Sriram Narayanan <sriramnrn at gmail.com> > wrote: >> On Sat, Jun 28, 2008 at 7:47 PM, Amit k. Saha <amitsaha.in at gmail.com> >> wrote: >>> Hello, >>> >>> Weird Issue: I can access the Internet from the browser but not from >>> the terminal. (No Proxy Settings required). >>> >> >> Wierd indeed. >> >> What does route get default give you ? > > amit at belenix:~$ ifconfig -a > > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu > 8232 index 1 > inet 127.0.0.1 netmask ff000000 > ae0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu > 1500 index 2 > inet 10.0.2.15 netmask ffffff00 broadcast 10.0.2.255 > > amit at belenix:~$ route get default > route to: default > destination: default > mask: default > gateway: 10.0.2.2 > interface: ae0 > flags: <UP,GATEWAY,DONE,STATIC> > recvpipe sendpipe ssthresh rtt,ms rttvar,ms hopcount mtu > expire > 0 0 0 0 0 0 1500 0 > >> >> And what does a traceroute tell ? > > amit at belenix:~$ traceroute www.google.com > traceroute: Warning: www.google.com has multiple addresses; using > 64.233.189.99 > traceroute to www.google.com (64.233.189.99), 30 hops max, 40 byte packets > 1 10.0.2.2 (10.0.2.2) 0.958 ms 0.161 ms 0.893 ms > 2 * * * > 3 * * > ^C So your packets are reaching the gateway, which seems fine.
Which machine 10.0.2.2 ? That is blocking everything. If it's Windows, then some Virtual Box settings are what you might need. I use OSX and Belenix, so I won't be able to help more. > > > --Amit > > -- > Amit Kumar Saha > http://blogs.sun.com/amitsaha/ > http://amitksaha.blogspot.com > Skype: amitkumarsaha >
