At this moment, I turn off all iptables rules. So I use "clean" configuration of one physical interface eth with two IP addressees - primary (192.168.0.7) defined by file:
- Code: Select all
/etc/sysconfig/network-scripts/ifcfg-eth0
and secondary (192.168.10.7) defined by file:
- Code: Select all
/etc/sysconfig/network-scripts/ifcfg-eth0:0
The contents of both files are listed in previous post.
So I try to run, for example, such command:
- Code: Select all
[root@media network-scripts]# nslookup www.playboy.com
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
And system rapports an error and DNS can not resolve name "www.playboy.com ". And any other too.
So I think that I have an error in configuration of secondary IP address. Notice that both IP addresses are located in different IP addressing segments. The question is, what I am doing wrong?
I have to tell once more. At this moment I flush all iptables rules.
Any idea?
UPDATE !
"route" shows default gateway as 192.168.10.7 - it is secondary IP not "basic" primary.