[TAG] Weird networking question
deivid.okop at gmail.com
Fri Mar 19 17:25:06 MSK 2010
2010/3/19 Ren? Pfeiffer <lynx at luchs.at>:
> On Mar 19, 2010 at 1100 -0300, Deividson Okopnik appeared and said:
> What is your network? Is it 192.168.0.0/24 (I assume)?
> Why do both network interfaces use IP addresses from the same network?
192.168.0.0/24 yes, and both use IPs from the same network cause the
machine was 192.168.0.200, but that blocks access to several pages,
and i need a free pass to the internet, and ip 192.168.0.97 does that.
But several other computers use 192.168.0.200 to access apache/mysql
from that machine, and I didnt want to change that,.
> What OS do you use? If Debian/Ubuntu, which declaration has the gateway
> option in /etc/network/interfaces?
Ubuntu 9.10, both interfaces got the proper gateway configured
(192.168.0.100), but not directly on the file, U9.10 uses that network
> You could try using something like this:
> ip route del default
> ip route add default via 192.168.0.x dev eth0
Did that, still doesnt work (after a network restart) - it seems to
work as i want when i disable eth1 (but of course then apache and
mysql = unresponsible)
Thanks a ton :)
Wow, youre fast.
More information about the TAG