Weird ip stuff with NIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All, I have sort of a multi-part question that is driving me nuts. 

I am running a box with Linux 7.2 Roswell (7.2 beta) with one nic (using 
tulip.o module) and Kernel 2.4.12-ac3 (machine A)

I am in the process of setting up another machine as a router (machine B). 

I have iptables setup on machine B with what I believe to be a correct 
configuration for using 2 nics. 

I have been connecting to the net via machine A to check out iptables info 
on the net. 

Then to test the setup I try to switch machine A over to an internal ip 
address (192.168.1.10). This has been done manually by editing 
/etc/sysconfig/network-scripts/ifcfg-eth0, as well as using linuxconf and 
netconfig. After doing this ifconfig shows that it still has the same 
address it last had when using dhcp. However a ping shows that it is using 
the internal ip. and route shows that eth0 has two addresses the internal 
ip as well as the dhcp ip. 

I have been able to get it to have only the internal ip by restarting the 
entire machine which should not be necessary. 

the next part isn't so important but once I get machine A to work properly 
I can ping itself, I can also ping the router but not the outside world. 
The router can ping itself and the outside world but not machine A. 

I am currently more interested in getting machine A to change IPs 
properly. Then I will deal with getting both machines to see each other 
then I will move on to iptables and NAT. 

Thanks in advance for any help, -peel



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux