I think you could not ping any host of your private network and public
network. You have set up local network with prefix 192.168.2.0 (subnet mask
255.255.255.0 assumed). But, nameserver is given from different network. So,
change it to 192.168.2.X.


I think, you have not explicitly defined default gateway to get access to
remote host. For that run  command  $sudo route add default gw 202.63.X.X.

Probably this will resolve your problem.

Good Luck.

On Tue, Jul 26, 2011 at 3:31 PM, Bikram Acharya <[email protected]> wrote:

> hello
>
> I have a server which has one public interface (202.63.x.x) and
> private interface (192.168.x.x). in either cases it should act as
> client host.
> problem:
> after both ethernet card is up then i can access(from other host)
> through public and private interface but after entering into the
> machine i couldnt ping to any host.
>
>
> what is problem need help
>
>
> my configuraion:
>
> /etc/network/interface
>
>
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> # iface eth0 inet dhcp
> iface eth0 inet static
> address 202.63.x.x
> netmask 255.255.x.x
> gateway 202.63..x.x
>
> #Local Network Interface
> auto eth1
> iface eth1 inet static
> address 192.168.2.x
> netmask 255.255.255.x
> gateway 192.168.2.x
>
>
> and /etc/resolve.conf
>
> nameserver 202.x.x.
> nameserver 202.x.x.(nameserver of eth0 network)
>
> nameserver 192.168.5.x(nameserver  of eth1 network.)
>
> --
> FOSS Nepal mailing list: [email protected]
> http://groups.google.com/group/foss-nepal
> To unsubscribe, e-mail: [email protected]
>
> Mailing List Guidelines:
> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> Community website: http://www.fossnepal.org/
>



____________
Ashish Bista

-- 
FOSS Nepal mailing list: [email protected]
http://groups.google.com/group/foss-nepal
To unsubscribe, e-mail: [email protected]

Mailing List Guidelines: 
http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
Community website: http://www.fossnepal.org/

Reply via email to