Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Solaris Logic to transmit traffic to physical interfaces ( eg ce0 and ce1) Post 302720067 by nadeemahmed on Tuesday 23rd of October 2012 12:53:12 PM
Old 10-23-2012
Java Solaris Logic to transmit traffic to physical interfaces ( eg ce0 and ce1)

Just wanted to understand what is the logic being used by Solaris(kernel) to transmit data/traffic on physical interfaces.

I have seen most of the time traffic is being sent to interface ce0 and sometime to ce1.

I have removed ip address from below command for some reason.

Code:
netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
a.b.c.d               x.x.x.1              U        1 537552 ce1
a.d.e.d               x.x.x.2              U        1 809673 ce0

Trying to figured out the logic/algorithm used to send traffic/data. i have gone through couple of document and understand, when system transmit a packet, it must locate the "BEST" interface over which to sent it.

but not so cleared about the algorithm or logic behind,since most of the time it uses ce0 and sometimes it use ce1 how?


Your early response will be appreciated with detailed explanation about this logic.

Thanks
Nadeem

Moderator's Comments:
Mod Comment edit by bakunin: Please view this code tag video for how to use code tags when posting code and data.

Last edited by bakunin; 10-23-2012 at 03:24 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

adding interfaces in solaris 9

Hi, Have a solaris 9 e420, one onboard nic. Now I added a quad nic card. I have never had more than a single interface. Any help on setting this new card up? or links? PLease? ; thanks! (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

2. Solaris

ce0 and ce1 have the same mac address

i have ce0 and ce1 online, on 2 different networks. im getting a message that says one nic is trying to assume the others IP or something to thta effect. I do ifconfig -a and i see they have the same mac. How do i deal with this? Solaris 9 i beleive 04/04 Thanks, Brian (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. UNIX for Dummies Questions & Answers

Configuring networking interfaces on Solaris 10

Hi, I am trying to configure an ip address, netmask, and default gateway on my solaris machine. For example, in Linux I would do the following command: #ifconfig eth0 xx.xx.xx.xx netmask 255.0.0.0 #add route or route add default xxx.xxx.xxx.xxx In Solaris 10, I believe the commands are... (7 Replies)
Discussion started by: annointed3
7 Replies

4. UNIX for Dummies Questions & Answers

Traffic count in Solaris

Hello, Iam looking for a solution to keep track on my traffic usuage, monthly usuage. Anybody could recommend anything? /empty (2 Replies)
Discussion started by: empty
2 Replies

5. Solaris

IPMP on 2 physical interfaces

Hi Community, I've a problem with IPMP: I have 2 physical interfaces, 1 "physical IP" and 1 VirtualIP. My question is: is it possible to have IPMP configuring 2 physical interfaces with the same "physical" IP Address? for example: ce0 10.10.10.10 ce5 10.10.10.10 and VIP... (5 Replies)
Discussion started by: Sunb3
5 Replies

6. Solaris

list of physical net interfaces

hi, Can I listdown all available net interfaces on my system like SF4800 or Netra440. I know there are 4 port physically present but I can't see or list them using either sysdef -v prtconf -vp prtdiag -v dladm kstat may be I'm missing switched on these or may some other command... (8 Replies)
Discussion started by: busyboy
8 Replies

7. IP Networking

Route all traffic between two ethernet interfaces

I have a Linux box with 3 ethernet cards: - eth0 - connected to internet (dhcp) - eth1 - 192.168.0.1 connected to embedded device1 - eth2 - 192.168.0.1 also connected to embedded device2 (both eth1/eth2 have to be in identical, though separate, private networks). Also, on eth0 I have two... (1 Reply)
Discussion started by: kontozebyoszuka
1 Replies

8. Solaris

Solaris 8: Multiple primary interfaces connected to the same network

Hello, I have a machine with Solaris 8, and it has multiple interfaces that are connected to the same network which means they all have metric 0 (1 hop) to the default gateway. assume: * e1000g0: 10.1.1.70 * e1000g2: 10.1.1.72 * e1000g4: 10.1.1.74 * e1000g5: 10.1.1.76 * gateway:... (11 Replies)
Discussion started by: aeg
11 Replies

9. Solaris

Configure ce0 as ce4000 in Solaris 9 ?

can we configure the ce0 and ce1 interface as ce4000 and ce5000 in solaris 9 I have a server configured similar way.. I need to setup another two server in such configuration find the sample output from working server. Please help root@judi::/dev# ifconfig -a lo0:... (3 Replies)
Discussion started by: judi
3 Replies

10. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies
FAITH(4)						   BSD Kernel Interfaces Manual 						  FAITH(4)

NAME
faith -- IPv6-to-IPv4 TCP relay capturing interface SYNOPSIS
device faith DESCRIPTION
The faith interface captures IPv6 TCP traffic, for implementing userland IPv6-to-IPv4 TCP relay like faithd(8). Each faith interface is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or using the cloned_interfaces variable in rc.conf(5). Special action will be taken when IPv6 TCP traffic is seen on a router, and the routing table suggests to route it to the faith interface. In this case, the packet will be accepted by the router, regardless of the list of IPv6 interface addresses assigned to the router. The packet will be captured by an IPv6 TCP socket, if it has the IN6P_FAITH flag turned on and matching address/port pairs. As a result, faith will let you capture IPv6 TCP traffic to some specific destination addresses. Userland programs, such as faithd(8) can use this behavior to relay IPv6 TCP traffic to IPv4 TCP traffic. The program can accept some specific IPv6 TCP traffic, perform getsockname(2) to get the IPv6 destination address specified by the client, and perform application-specific address mapping to relay IPv6 TCP to IPv4 TCP. The IN6P_FAITH flag on a IPv6 TCP socket can be set by using setsockopt(2), with level IPPROTO_IPV6 and optname IPv6_FAITH. To handle error reports by ICMPv6, some ICMPv6 packets routed to an faith interface will be delivered to IPv6 TCP, as well. To understand how faith can be used, take a look at the source code of faithd(8). As the faith interface implements potentially dangerous operations, great care must be taken when configuring it. To avoid possible misuse, the sysctl(8) variable net.inet6.ip6.keepfaith must be set to 1 prior to using the interface. When net.inet6.ip6.keepfaith is 0, no packets will be captured by the faith interface. The faith interface is intended to be used on routers, not on hosts. SEE ALSO
inet(4), inet6(4), faithd(8) Jun-ichiro itojun Hagino and Kazu Yamamoto, An IPv6-to-IPv4 transport relay translator, RFC3142. HISTORY
The FAITH IPv6-to-IPv4 TCP relay translator first appeared in the WIDE hydrangea IPv6 stack. BSD
April 10, 1999 BSD
All times are GMT -4. The time now is 02:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy