Hi
My setup is as follows:
Network 1: PC1 (eth0) is connected to PC2 (eth0)
Network 2: PC2 (eth1) is connected to PC3 (eth0)
All eth devices use the e1000 driver. (Version 7.2.9, from Intel's website)
Network 1 is used for user interfacing, and will always be standard Ethernet.
Network 2 can switch between standard Ethernet and RTnet. (RTnet is used for operations, standard Ethernet for software updates etc.). PC2 functions as a gateway when both networks are configured as standard Ethernet.
After bootup both networks are standard Ethernet, and everything seems OK. For a while after I switch Network 2 to RTnet everything seems ok, but after about 73 seconds the inet address of PC2's eth0 changes from 172.0.0.3 to 172.17.101.138 for a second or so, and then eth0 goes totally down. (I have no idea where this "172.17.101.138" comes from). Network 2 (RTnet) still functions.
If I then manually bring PC2's eth0 back up, everything works OK again.
The same happens when I switch Network 2 from RTnet to standard Ethernet.
"dmesg" doen't give any info when this happens. Does anybody know wat the issue can be, or at least places where I can look for the problem? Is it perhaps the sequence of events that is somehow wrong?
I have attached the script which switches Network 2 from Ethernet to RTnet.
Thanks
Thinus Viljoen
### script to switch Network 2 from standard Ethernet to RTnet, for PC2
echo 0 > /proc/sys/net/ipv4/ip_forward
rmmod e1000
sleep 4
insmod /usr/local/rtnet/modules/rtnet.ko
insmod /usr/local/rtnet/modules/rtipv4.ko
insmod /usr/local/rtnet/modules/rtpacket.ko
insmod /usr/local/rtnet/modules/rt_e1000.ko cards=0,1,0,0
sleep 4
/usr/local/rtnet/sbin/rtifconfig rteth0 up 10.0.0.3 netmask 255.255.255.128
sleep 1
#Bring Network 1 back up on PC2
if [ $Node = PC2 ]
then
modprobe e1000
sleep 4
ifconfig eth0 172.0.0.3
sleep 1
fi
### end of script
*******************************************************************************************************
Disclaimer: The information contained in this communication is confidential and may be legally privileged.
It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it.
Any review, retransmission, dissemination, copying, disclosure or other use of, or taking of any action in reliance upon, this information by person or entities other then the intended recipient is prohibited.
If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and return and/or destroy the original message and all copies from any computer.
Denel (Pty) Ltd exercises no editorial control over e-mail messages originating in the organisation and does not accept any responsibility for either the contents of the message or any copyright laws that may have been violated by the person sending this message.
Denel (Pty) Ltd is neither liable for the proper and complete transmission of the information contained in this communication nor any delay in its receipt.
This message should not be copied or used for any purpose other than intended, nor should it be disclosed to any other person.
*******************************************************************************************************
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users