How to force multicast packet to go via different interface?
Hi folks,
I am working on a Solaris-10 global server, which is hosting 7 non-global zones. There are two kind of network interfaces on our servers, admin and prod. There is one route, which is going via admin interface, I want to delete that and have that from prod interface.
e1000g0 is admin interface
e1000g3 is prod interface
Code:
# ifconfig e1000g0
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.244.20 netmask ffffff80 broadcast 192.168.244.127
ether 0:14:4f:78:f8:84
# ifconfig e1000g3
e1000g3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 216.221.133.250 netmask ffffffc0 broadcast 216.221.133.255
ether 0:14:4f:78:f8:87
#
If I check route of all zones, I see that multicast packets are going via e1000g0 (excep first one). I want it to go with prod interface e1000g3.
Code:
# for i in `cat /var/tmp/all_zones.out`; do zlogin $i netstat -nrv | grep 224.0.0.0; done
224.0.0.0 240.0.0.0 192.168.241.21 e1000g1:1 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 192.168.244.24 e1000g0:5 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 192.168.244.22 e1000g0:4 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 192.168.244.23 e1000g0:2 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 192.168.244.25 e1000g0:3 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 192.168.244.32 e1000g0:6 1500* 0 1 U 0 0
224.0.0.0 240.0.0.0 192.168.244.33 e1000g0:7 1500* 0 1 U 0 0
#
That means, I want to delete above routes and add route going via gw 216.221.133.193 and e1000g3. I am not sure, how to change this. I assumed that it is coming from static_routes file. I commented one line (see below) and rebooted server, still no luck.
Please suggest, how can it be done. Network team already enabled multicast for that VLAN. By suggestion on one of the forum, I changed index number of e1000g0 from 2 to 5 (e1000g3 is index 4)and then test, but seems like, this wrkaround doesn't work.
How I tested ? I took two sessions of zone-1. On one session I issued mcSend command
Multicast packets are going through admin interface because it is managed by /lib/svc/method/net-svc configuration. One of its parameter says
Code:
if [ "$_INIT_NET_STRATEGY" = "dhcp" ]; then
mcastif=`/sbin/dhcpinfo Yiaddr` || mcastif=$_INIT_UTS_NODENAME
else
mcastif=$_INIT_UTS_NODENAME
fi
It says multicast should go via NODENAME. That means, whatever is hostname and uname -n returns. By default hostname is set to admin interface. Two changes I made :
-Changed hostname and zonename in /etc/hosts, so at zonemanager level, it look to pubic IP
-In zonecfg, I moved up the public interface, so it goes FIRST in zone description file.
These 2 Users Gave Thanks to solaris_1977 For This Post:
RHEL 7.0, IPV6
Scenario:
I have routed specific network using network scripts.
1. "ip -6 route show" shows that route has been added. ( with metric 1024)
2. Ping of the specific IP through that route is successful.
3. Now after few days, for some reason, we see that cache route appears for... (3 Replies)
Hi,
I am using the ce interface on my Solaris 9 server and there is significant packet loss when transmitting large packets. Does anyone have a fix for this?
----10.1.0.0 PING Statistics----
51 packets transmitted, 42 packets received, 17% packet loss
round-trip (ms) min/avg/max =... (12 Replies)
Hello,
I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to add a functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will... (1 Reply)
Hi all,
I encounter some problem with my e1000g interface running on sol 10. I can't permanently change the auto-nego to disable, if i use ndd commands, it will only stay until the next reboot.
But i can't change the link speed either is set to /etc/init.d/nddconfig or using ndd commands.
... (1 Reply)
I'm not an advanced user by any strech, that being said here is my problem:
I ran "reboot" on a sun blade 2500
When loading up it runs through the usual routine, checking disks, filesystems and then it locks up
after the following message:
*****
starting rpc services: rpcbind... (6 Replies)
Double question here ... Running on Debian Etch and Apache 2.0
1) Using mod_proxy and/or mod_proxy_http in apache 2.0.
The basics of using mod_proxy are pretty simple so long as you're using a static config. I'm trying to figure out how to do it dynamically - that is, allow the entry of a... (4 Replies)
Hello all,
I have the following question:
if you join a multicast group (with setsockopt() and IP_ADD_MEMBERSHIP) and specify INADDR_ANY as network interface to join on, the kernel is supposed to choose which interface to use (if there are multiple network interfaces, of course).
Does... (2 Replies)