Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im under debian Sage, and I have some problem with network
I have 2 network card on the server
- eth0 connected to internet via inet adr:193.xx.yy.160 Bcast:193.xx.yy.255 Masque:255.255.255.0
- eth1 connected to local via inet adr:193.xx.yy.161 Bcast:193.xx.yy.255 Masque:255.255.255.0
The other computer on localnetwork inet adr:193.xx.yy.163 Bcast:193.xx.yy.255 Masque:255.255.255.0
Wth gateway ip: 193.xx.yy.161
Take look a little drawing :
INTERNET <--------> [eth0(193.xx.yy.160) | eth1(193.xx.yy.161] <--------> [eth0(193.xx.yy.163)]
BUT ! When I try to ping 193.xx.yy.161 on the computer(192.xx.yy.163). And when I try to pīng 193.xx.yy.163 on the server(192.xx.yy.161) I have No reply !!
Anybody have some idea ?
(PS: I don't want to put the localnetwork on private ip)
Try a packet filter like ethereal and see if there are ICMP messages being sent while you are ping'ing or not.
Maybe some security measure is blocking the ICMP messages.
Have you also checked all network interfaces (are they up, properly connected, using right kind of cables)?
Try a packet filter like ethereal and see if there are ICMP messages being sent while you are ping'ing or not.
Maybe some security measure is blocking the ICMP messages.
Have you also checked all network interfaces (are they up, properly connected, using right kind of cables)?
All work without problem with private ip like 192.168.1.*
With ethereal on the server, I receive nothing on the eth1 !
Are you sure this isn't a routing problem? eth0 being your first interface and having the same address family as your internal network, I think the kernel tries to route your packets to eth0, that is, to the internet, because it takes the interfaces in order: eth0, eth1. Maybe you should execute in a shell (as root) a line like this:
ip route add 193.xx.yy.163 dev eth1
on the server( 193.xx.yy.16{0,1} )
I think it should work this way ..
Are you sure this isn't a routing problem? eth0 being your first interface and having the same address family as your internal network, I think the kernel tries to route your packets to eth0, that is, to the internet, because it takes the interfaces in order: eth0, eth1. Maybe you should execute in a shell (as root) a line like this:
ip route add 193.xx.yy.163 dev eth1
on the server( 193.xx.yy.16{0,1} )
I think it should work this way ..
serv160:/# ip route add 193.xx.yy.163 dev eth1
bash: ip: command not found
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.