Network card name switching.
Hello. I have a problem with NICs switching names. I followed Wiki and added 10-network.rules in /etc/udev/rules.d but it seems there is no effect.
/etc/udev/rules.d/10-network.rules
SUBSYSTEM=="net", ATTR{address}=="11:11:11:11:11:11", name="eth0"
SUBSYSTEM=="net", ATTR{address}=="00:11:11:11:11:11", name="eth1"
SUBSYSTEM=="net", ATTR{address}=="00:00:11:11:11:11", name="eth2"
MAC addresses have been hidden but the one in my config are correct.
I have 1 NIC onboard (eth0) and one network card with dual port (eth1,eth2).
Also what is the difference beteen ATTR{address} and ATTRS{address}?
Wiki mentions something about:
With a recent version of udev, this problem should be solved automatically thanks to the /usr/lib/udev/write_net_rules program which runs the 75-persistent-net-generator.rules script which produces a 70-persistent-net.rules.
I can't find any of those files.
Last edited by verb0ss (2012-06-14 17:09:16)
alphaniner wrote:
In my 10-network.rules, "name" is in all caps. Maybe that's your problem.
SUBSYSTEM=="net", ATTR{address}=="##:##:##:##:##:##", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="##:##:##:##:##:##", NAME="eth1"
SUBSYSTEM=="net", ATTR{address}=="##:##:##:##:##:##", NAME="eth2"
SUBSYSTEM=="net", ATTR{address}=="##:##:##:##:##:##", NAME="eth3"
I haven't noticed such an obvious thing. I have corrected the config now and i will give it a few days to test it. Thx a lot mate.
Similar Messages
-
[solved] stable network card name eth0 eth1
Hello, I'm new to Arch Linux. I have two Ethernet interface adapters, let's distinguish them by their MAC addresses MAC0 and MAC1. Relationship between MAC addresses and 'eth' unit numbers may change after reboot. Sometimes
MAC0~eth0
MAC1~eth1
sometimes
MAC0~eth1
MAC1~eth0
When they swap, I should change 'rc.conf' settings (IP addresses and such) or keep rebooting until they swap back. I want to name devices in 'rc.conf' by their MAC addresses, is it possible?
Last edited by beroal (2009-06-14 01:47:57)Had this issue recently. The best solution is to create a rule in udev which handles the naming task. See http://wiki.archlinux.org/index.php/Udev. The general solution didn't solve my problem. The udev rule has been effective so far. I renamed to lan0 and lan1. If you do rename remember to change your configs that refer to the network cards.
*edit: just a little late, typing with 1 hand...*
Last edited by stryder (2009-06-07 17:34:59) -
Add network card to virtual machine and all available virtual networks aren't showing
Have a Hyper V 2012 cluster....we have a network card cabled for our DMZ network ...it's enabled.
Under a host in cluster in Virtual Switch Manager we have the virtual switch configured as external and it matches up with NIC number in the OS network connections...NIC 9. It's configured like the other virtual switches that are showing.
On our Hyper V Mgr console...under VM Networks..the DMZ network shows...I checked...settings same as other networks.
Still on our Hyper V Mgr console..under Logical Networks...the DMZ network shows...I checked...settings same as other networks.
When we go into Virtual Machine Mgr...hardware configuration for VM we created...add network adapter...the DMZ network doesn't show up in the list for VM networks so we can't assign IP or really add NIC in general.
I was able to go to an actual Hyper V host...under Hyper V Mgr that the VM was running on this particular host and I was able to add a network card/virtual switch..VM can ping devices...however if I go into the Hyper V Mgr in the Hyper V Mgr server and go
to properites of VM...a NIC is not listed.Have a Hyper V 2012 cluster....we have a network card cabled for our DMZ network ...it's enabled.
Under a host in cluster in Virtual Switch Manager we have the virtual switch configured as external and it matches up with NIC number in the OS network connections...NIC 9. It's configured like the other virtual switches that are showing.
On our Hyper V Mgr console...under VM Networks..the DMZ network shows...I checked...settings same as other networks.
Still on our Hyper V Mgr console..under Logical Networks...the DMZ network shows...I checked...settings same as other networks.
When we go into Virtual Machine Mgr...hardware configuration for VM we created...add network adapter...the DMZ network doesn't show up in the list for VM networks so we can't assign IP or really add NIC in general.
I was able to go to an actual Hyper V host...under Hyper V Mgr that the VM was running on this particular host and I was able to add a network card/virtual switch..VM can ping devices...however if I go into the Hyper V Mgr in the Hyper V Mgr server and go
to properites of VM...a NIC is not listed. -
Assignment of network cards switches each boot (bizarre).
I'm working from a dell inspiron laptop which has both an ethernet port and a wifi card, which are registered as eth0 and eth1. I have no problems configuring rc.conf and related etcs to get the wireless card to work (no driver problems or anything), but they switch names each boot. Has anyone had this problem/ know why it would happen? I can confirm that all I need to do in order to get network running is switch all references of eth0 to eth1 (or eth1 to eth0) and /etc/rc.d/network restart in order to get online (as I am right now).
This particular link to our wiki might help you: Mixed Up Devices, Sound/Network Cards Changing Order Each Boot
Last edited by Cerebral (2007-06-05 01:17:58) -
Hi
SBS 2011.
The dell server has two network cards and one is disabled. Now the active card seems to be causing issues. What are the steps to reliably switch to the second network card?
Thanks
RegardsHi:
SBS 2011 will respond normally to a switch in nics. See this thread from this forum:
http://social.technet.microsoft.com/Forums/en-US/753700f8-3fe0-4b8b-a91e-25860ff13191/best-method-to-replace-network-adapter-in-sbs-2011?forum=smallbusinessserver
Larry Struckmeyer[MVP] If your question is answered please mark the response as the answer so that others can benefit. -
Problems with SRW224G4 switch and Bridged Network Cards
Hello,
We have recently installed a SRW224G4 switch and have discovered that when we plug our DELL PowerEdge 2900 server into the switch, the switch loses all network connectivity and all of the LED's on the switch start flashing.
The server works perfectly well plugged into another switch, but as soon as we introduce the SRW224G4 into the network, either with the server plugged into that switch or any other, the problem re-occurs.
The only way we found we could eliminate this issue was if we disabled the Bridged Network connection on the two network cards on the server. If we do that, everything is fine, except the network performance of the server has dropped significantly.
The server is plugged into the 1GB ports on the switch, although we tried it on the 100MB ports and received the same problems. The switch reports that the ports are running at full-duplex.
Has anyone noticed this behavior before, and more importantly been able to rectify it.
Thanks in advance for your assistance,
PaulI had this problem as well with any Linksys 2024 or rackmountable switch.. The trick is, you need to use the network cards management software to "team" or bridged the 2 NIC's otherwise the switch detects a loop and the whole thing locks up. So lame... Windows built in bridge mode stinks dont use it. When you use the Intel management software or Dell or HP's NIc management software you have the option to actually choose "redundant mode" where you can pick a Nic to be the primary, or you can choose Load Balancing where you can essentially double your throughput by joining the 2 nics.
In Windows 2008 Server, you actually do this by going to the Properties on the NIC in Device Manger. the software controls are now built right into the driver. pretty neat. 2003 you can check Device Manager the same way but not sure if it's the same as 2008, you might need to run the actual NIC management app.
Hope this helps
fdigi -
What API i can see network card driver name
Dear all
in java i/o evirnment what API I can use to call current machine network card driver name?Well the first step for you is to look through your Windows documentation to see what the library call is to get the information you want. Can you find that and post what you find, and post the full signature of that library call (ie, arguments and return type)?
In other words, here's what you should do: Write a simple C program that gets just the information you are looking for. How that works is outside the scope of JNI, so it's outside the scope of this forum, but once you get that working, post some info about it and I'll explain how to get that linked in with JNI. The good news is, it's easy to do. -
Need help to restore my caller ID on new replaced sim card... iphone network won't switch feature on
cathorio wrote:
I recently changed my lap top. My problem is the new lap top won't accept my apple I D it asked me to sing up for a new one which I did.
I am puzzled by this. The laptop doesn't need the Apple ID - but iTunes does. I could be missing something but ....
Why would you not be able to use your existing Apple ID and iTunes account on a new laptop? If you authorized the computer - you should be able to use your existing account - unless you already had 5 computers authorized with the existing ID - and that was why iTunes would not accept the ID. However, I'm sure that you would have received a popup message from iTunes telling you that you had reached the limit.
I just received a new MBP and my daughter did as well. My entire family shares an Apple ID and we had no issues at all with my Apple ID and iTunes on our new computers and I did not have to sign up for a new account. Did you even try the old ID? -
The name of network card is changing
Hello,
I have network card and wifi card in my notebook. I have updated udev, kernel, firefox etc. Since time the name of network card is changing. Sometimes lan is eth1 and wlan is eth0 and sometimes lan is eth0 and wlan is eth1.
It s problem for me. Becouse I dont use dhcp.
Any sugestions.I gave this a shot and I'm still haveing the same problems.
This is my /etc/udev/rules.d/netdevices.rules:
KERNEL="eth*", SYSFS{address}="00:0d:56:b3:52:fc", NAME="eth0"
KERNEL="eth*", SYSFS{address}="00:0e:35:40:91:77", NAME="eth1"
Output from ifconfig (just to show names and macs...
eth0 Link encap:Ethernet HWaddr 00:0E:35:40:91:77
eth1 Link encap:Ethernet HWaddr 00:0D:56:B3:52:FC
It seems that udev just ignores the custom rules and its potluck on whether it comes up with the right names or not. I have another custom rule file in there as well which changes various usb cameras and stick drives into more meaning full names other then sd?1, those rules seem to be ignored as well.
[edit]Solved!
The following netdevices.rules works:
KERNEL=="eth*", SYSFS{address}=="00:0d:56:b3:52:fc", NAME="eth0"
KERNEL=="eth*", SYSFS{address}=="00:0e:35:40:91:77", NAME="eth1"
It seems that you have to use "==" in comparison operations. Did this used to be the case? I don't remember having to use them before and most examples I see use a "=" for both comparison and assignment. Did they change the rules syntax for the new version or maybe just correct an error that allowed "=" to work as "=="?
[/edit]
andy -
2 network cards in Windows 8.1 but can't set the correct one to Private
Hi, I already asked this question in the community forum but was re-directed here as you guys know more about multiple network cards in Windows 8.
I'm using Windows 8.1 with 2 network cards. One for my internal LAN (will call this my secure LAN which has a static IP) and one for connection to the internet (Internet LAN which is DHCP). Both networks are totally physically seperate. This is for a combination
of speed and security purposes (lot of internet traffic on the internet LAN and I want that card locked down to prevent file sharing on it)
By default, both of the cards have their network properties set to public. To date I have not found any way to set the secure LAN card to private and the Internet card to public. If I enable file sharing in the private bit of "advanced settings" and
go to the Metro settings (whatever the fancy name is) under PC Settings/Network/Connections, there is only a generic "network" icon shown (rather than 2 netowrk icons, one for each card). When clicked, this correlates to the network card connected
to the internet. I can make this card public or private by changing the "Find devices and Content" switch on or off but this does not impact the card connected to the secure LAN. I tried disabling the Internet card and re running the setup (which
this time configured the secure LAN card) which I think did allow me to change it to private but as soon as the internet LAN card was re-enabled it reverted to that one being private and my secure LAN to public.
so - The config I am left with is the wrong way round (ie the internet card set to private and my private LAN card set to public!)
Similarly, I tried using regedit. In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\ <Profile ID> I can change the REG_DWORD to 1 or 0 but this only impacts the private / public settings of the card connected to the
internet.
I am guessing that Windows is kind of combining these 2 cards into 1 network profile and there is some priority thing going on that it gives priority to the card connected to the internet in terms of config?
Anyone got any ideas on how to force one card to private and the other to public?
Thanks Guys.
Al.This is caused by the default security policy which blocks file sharing with unidentified networks by making them public. (How it determines unidentified networks is another interesting question). To allow file sharing, you have to change the local
security policy to allow unidentified networks to be private.
Local Security Policy | Network List Manager Policies |Unidentified Networks
Bill -
AEX network card compatible?
Could anyone please confirm that my AEX network card Firmware v 405.1 (3.90.34.0) is compatable with Belkin45g (802.11g) ADSL modem with wireless G router?
As have been wired with Cable Ethernet (NTL/Virgin) for last 12 months and am now switching back to a previously working Wireless network connection at home - that is currently not establishing any network/s at all!? under 'Internet connect'/Utility.
Any help would be greatly apreciated.
nullWhen connecting to a non-Apple base station, I wouldn't put too much stock in the Internet Connect status field. If you are successfully connected, it merely states "Connected to nameofwirelessnetwork".
I would suggest that you change the name of your wireless network and not use the default "belkin54g".
You may be suffering from RF interference. Other devices which operate at 2.4 GHz can negatively affect your wireless network. Try changing the channel used by the base station until you find a channel which works better or you run out of channels.
KB 58543, AirPort: Potential sources of interference -
RE: Is there a way to have 2 network cards on the samemachine
Sean,
I mean I am always connecting to the nodemgr of the 2nd environment
successfully. Only when I run the client part of the application that I know
is up, I get a response from the Name Server that it is actually the first
IP address.
I checked again. I defenitely have FORTE_NS_ADDRESS set to IP:5004, in my
case, and not the hostname. I don't have FORTE_LOCATIONS set any where. the
NS_ADDRESS for env2 has only 1 IP address associated with it. My Forte
Control Panel on the client, and hence the NS address has only one entry.
I tried going into escript like you said, and the name service still thinks
it is IP1.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Monday, June 22, 1998 1:31 PM
To: Venkat Kodumudi; 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Hmmmm? That is a little odd! Let me rehash what I think you are saying.
You now have two environments each with their own name service with
FORTE_NS_ADDRESS set to a different IP:Port combination. For example you
are doing the steps:
FORTE_NS_ADDRESS=255.255.255.1:5000
start the nodemgr for env 1
FORTE_NS_ADDRESS=255.255.255.2:5000
start the nodemgr for env 2
Now when you start a client you are always getting the address for env 1
back from the nodemgr. I assume you actually mean the name service? Or, do
you mean you are always connecting to the nodemgr & name service for env
1?
If the first scenario is the case and you are connecting to the nodemgr
for
env 2 but getting back IP's for services listening on the card for env 1 I
would ask you what you are setting the FORTE_LOCATIONS value to before you
start each service. If you are not setting it or are using the host name
it
will register using the IP for the primary network card associated with
the
machine name and I am again assuming that this is env 1. You need to set
the FORTE_LOCATIONS variable to 255.255.255.2:0 (based on the steps above)
before starting your services.
If the second scenario is the case I would have you check what the
FORTE_NS_ADDRESS is set to before you start up the client. Once again it
must be the IP:Port combination not host:port combination if you want to
get
anything other than the primary card.
I would also suggest that you do the following. After everything is up
and
running execute the following commands:
escript -fns "ip for env1":port
findsub nameservice
showpart
What you should see is everything currently registered under the name
service. It will have the name and any "locations" (IP and port) that it
is
registered as listening on. I would look for the nodemgr and see where it
has advertised itself. I would then look for any services you expect to
be
registered there and also verify where the have advertised themselves. If
there are multiple locations listed for any one service, the client will
use
the first one in the list.
Do the same for env 2.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:57 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
I am giving the actual IP address. and not the host name. That is why I
don't understand what is going on.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Monday, June 22, 1998 10:53 AM
To: Venkat Kodumudi; 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Hello Venkat,
I probably should have mentioned this before. Your are correct. Forteis
doing a host lookup if you are providing a name for examplemachine1:5000.
You can bypass the host lookup by using the actual ip dot addressinstead
for example 255.255.255.255:5000. This way you are taking the name
service
out od the picture and Forte will use the address provided.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:27 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
My requirement is that my second card serves as best case performance
testing piece. This eliminates the network completely. We went one step
ahead and created a new enviromnent for the second card. Whatever I do,
the
nodemgr is returning back the IP address of the first card, even thoughmy
FORTE_NS_ADDRESS does not have the first card in the picture any where.
I think Forte is doing a host look up and returning the first IP address
it
finds, as opposed to returning the IP address specified in theenvironment
variable FORTE_NS_ADDRESS. Is there a way to trick it?
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Thursday, June 18, 1998 9:54 AM
To: Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
OK, you ran into one of the issues. That is, if both addresses areknown
to
the client that is trying to contact the partition it will always usethe
first address in FORTE_LOCATIONS. This is because FORTE_LOCATIONS was
designed more as a failover mechanism. So it will always try the
first
address in the list and if it succeeds, there is no reason to move onto
the
second.
Now, the second issue is that there is currently a problem with theclient
failover to the secondary address in FORTE_LOCATIONS. If the firstentry
fails it is supposed to retry on the second entry. Instead, it
retries
the
first entry again. I know that Forte knows about this but I do nothave
a
bug number on it.
With that said, lets look at a possible solution for you. If the real
objective here is to have a back up network card available for fail
over
on
the same machine, or use one card to advertise outside your firewalland
one
to use inside, then you will have to contact Forte to determine whenthe
failover problem will be fixed. But, if the objective is to loadbalance
across the network cards you could have the environment manager listenon
both ports and then alternate your server partitions across both
cards.
For
example:
set FORTE_NS_ADDRESS=card1:5000;card2:5000 and then start up the
environment
manager
set FORTE_LOCATIONS=card1:0 (the 0 in the port causes the OS to pick a
port)
and start partition one
set FORTE_LOCATIONS=card2:0 and start partition two
and so on....
In this scenario the environment manager will be listening on bothcards
but
each server will be listening on only one of the two cards. So if a
request
comes in for partition1 it will go through card one and if it is for
partition two it will go through card two. You could assign your
partitions
to cards based on expected load.
Well, I am done. I hope this helps!
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Thursday, June 18, 1998 8:06 AM
To: 'Sean Brown'; 'John Jamison'
Cc: [email protected]; Jose Suriol
Subject: RE: Is there a way to have 2 network cards on the samemachine
Sean,
Thanks for your reply. I tried the approach. I was not very specificin
my
question. I do need the ability for server applications to listen and
server
on both the network cards.
I was succesfully able to make the nodemgr listen on both the cardsand
actually serve requests coming in from both the cards. But, followingyour
advise, I took a cautious step with FORTE_LOCATIONS. Here is what I
noticed.
I have an application that has 6 partitions in total. I used
FORTE_LOCATION
to make it listen on 1. Both the cards. 2. Swapped the IP addresses
for
both
cards for this application. 3. One card that I want it to listen on. I
tried
all approaches by exporting the locations variable for just this
application. The nodemgr recieves a request from this pc connected onthe
second card to talk to one of the partitions. The node mgr responds
with
a
proxy - with the ip address and socket number of the first card. The
FORTE_NS_ADDRESS variable looks like this:
IP1:5002;IP2:5002.
Is it possible atall to resolve my problem, without having a seperate
environment?
Thanks
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Wednesday, June 17, 1998 10:42 AM
To: 'John Jamison'; Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the
same
machine
Venkat,
Actually, it is possible for Forte to listen on more than one IP andport
combination. The first reply to your message was correct. If you
set
the
FORTE_NS_ADDRESS to contain multiple entries before starting the
name
service, it will advertise on both. For Forte servers you use the
FORTE_LOCATIONS env variable to get it to advertise on multipleip:port
combinations.
We were doing something very similar with another customer I was at
to
get
around a firewall. I will warn you that there are some issues with
FORTE_LOCATIONS that may keep that portion from working. However,
from
reading your note, it appears that all you need is for the nameservice
to
advertise and listen on multiple ports and that works fine. I justtested
it again for sanity sake and it worked. I ran my test on NT using
Forte
3G2.
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of John Jamison
Sent: Tuesday, June 16, 1998 4:51 PM
To: Venkat Kodumudi
Cc: [email protected]
Subject: Re: Is there a way to have 2 network cards on the samemachine
Venkat,
Technically yes this is possible, though not in Forte. A nameserver
can
only listen on one port.
To implement this scheme you will have to write a proxy service (insome
language
including perhaps forte) which listens on the well-known port on the
second card, reads requests, then forwards them to the realnameservice
(wkp on the first card), and forwards replies back. This is not
trivial, but some firewall toolkit vendors supply stub code to write
application specific proxies.
-J
Venkat Kodumudi wrote:
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have
2
ip
addresses, and the connection between the two is the unix box and
only
the
unix box. I have a pc connected to the 2nd network card and I want
it
to
connect to the nameserver that is listening on a well known port
on
the
first network card. We don't want to turn IP forwarding between
the
two
cards. We want Forte to address both cards to talk to clients, in
one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>>>
John Jamison [email protected]
Vice President and Chief Technology Officer
Sage IT Partners, Inc.
Voice: 415 392-7243 x 306
Fax: 415 391-3899
Internet Enabled Business Change
<a href=
"http://www.sageit.com">http://www.sageit.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>Hello Venkat,
I probably should have mentioned this before. Your are correct. Forte is
doing a host lookup if you are providing a name for example machine1:5000.
You can bypass the host lookup by using the actual ip dot address instead
for example 255.255.255.255:5000. This way you are taking the name service
out od the picture and Forte will use the address provided.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:27 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
My requirement is that my second card serves as best case performance
testing piece. This eliminates the network completely. We went one step
ahead and created a new enviromnent for the second card. Whatever I do, the
nodemgr is returning back the IP address of the first card, even though my
FORTE_NS_ADDRESS does not have the first card in the picture any where.
I think Forte is doing a host look up and returning the first IP address it
finds, as opposed to returning the IP address specified in the environment
variable FORTE_NS_ADDRESS. Is there a way to trick it?
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Thursday, June 18, 1998 9:54 AM
To: Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
OK, you ran into one of the issues. That is, if both addresses are known
to
the client that is trying to contact the partition it will always use the
first address in FORTE_LOCATIONS. This is because FORTE_LOCATIONS was
designed more as a failover mechanism. So it will always try the first
address in the list and if it succeeds, there is no reason to move on to
the
second.
Now, the second issue is that there is currently a problem with the client
failover to the secondary address in FORTE_LOCATIONS. If the first entry
fails it is supposed to retry on the second entry. Instead, it retries
the
first entry again. I know that Forte knows about this but I do not have a
bug number on it.
With that said, lets look at a possible solution for you. If the real
objective here is to have a back up network card available for fail over
on
the same machine, or use one card to advertise outside your firewall and
one
to use inside, then you will have to contact Forte to determine when the
failover problem will be fixed. But, if the objective is to load balance
across the network cards you could have the environment manager listen on
both ports and then alternate your server partitions across both cards.
For
example:
set FORTE_NS_ADDRESS=card1:5000;card2:5000 and then start up the
environment
manager
set FORTE_LOCATIONS=card1:0 (the 0 in the port causes the OS to pick a
port)
and start partition one
set FORTE_LOCATIONS=card2:0 and start partition two
and so on....
In this scenario the environment manager will be listening on both cards
but
each server will be listening on only one of the two cards. So if a
request
comes in for partition1 it will go through card one and if it is for
partition two it will go through card two. You could assign your
partitions
to cards based on expected load.
Well, I am done. I hope this helps!
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Thursday, June 18, 1998 8:06 AM
To: 'Sean Brown'; 'John Jamison'
Cc: [email protected]; Jose Suriol
Subject: RE: Is there a way to have 2 network cards on the same machine
Sean,
Thanks for your reply. I tried the approach. I was not very specific in
my
question. I do need the ability for server applications to listen and
server
on both the network cards.
I was succesfully able to make the nodemgr listen on both the cards and
actually serve requests coming in from both the cards. But, following your
advise, I took a cautious step with FORTE_LOCATIONS. Here is what I
noticed.
I have an application that has 6 partitions in total. I used
FORTE_LOCATION
to make it listen on 1. Both the cards. 2. Swapped the IP addresses for
both
cards for this application. 3. One card that I want it to listen on. I
tried
all approaches by exporting the locations variable for just this
application. The nodemgr recieves a request from this pc connected on the
second card to talk to one of the partitions. The node mgr responds with a
proxy - with the ip address and socket number of the first card. The
FORTE_NS_ADDRESS variable looks like this:
IP1:5002;IP2:5002.
Is it possible atall to resolve my problem, without having a seperate
environment?
Thanks
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Wednesday, June 17, 1998 10:42 AM
To: 'John Jamison'; Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Venkat,
Actually, it is possible for Forte to listen on more than one IP andport
combination. The first reply to your message was correct. If you setthe
FORTE_NS_ADDRESS to contain multiple entries before starting the name
service, it will advertise on both. For Forte servers you use the
FORTE_LOCATIONS env variable to get it to advertise on multiple ip:port
combinations.
We were doing something very similar with another customer I was at toget
around a firewall. I will warn you that there are some issues with
FORTE_LOCATIONS that may keep that portion from working. However, from
reading your note, it appears that all you need is for the name serviceto
advertise and listen on multiple ports and that works fine. I justtested
it again for sanity sake and it worked. I ran my test on NT using Forte
3G2.
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of John Jamison
Sent: Tuesday, June 16, 1998 4:51 PM
To: Venkat Kodumudi
Cc: [email protected]
Subject: Re: Is there a way to have 2 network cards on the same machine
Venkat,
Technically yes this is possible, though not in Forte. A name server
can
only listen on one port.
To implement this scheme you will have to write a proxy service (in some
language
including perhaps forte) which listens on the well-known port on the
second card, reads requests, then forwards them to the real nameservice
(wkp on the first card), and forwards replies back. This is not
trivial, but some firewall toolkit vendors supply stub code to write
application specific proxies.
-J
Venkat Kodumudi wrote:
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have 2ip
addresses, and the connection between the two is the unix box and onlythe
unix box. I have a pc connected to the 2nd network card and I want it
to
connect to the nameserver that is listening on a well known port onthe
first network card. We don't want to turn IP forwarding between thetwo
cards. We want Forte to address both cards to talk to clients, in one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
John Jamison [email protected]
Vice President and Chief Technology Officer
Sage IT Partners, Inc.
Voice: 415 392-7243 x 306
Fax: 415 391-3899
Internet Enabled Business Change
<a href="http://www.sageit.com">http://www.sageit.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Is there a way to have 2 network cards on the samemachine
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have 2 ip
addresses, and the connection between the two is the unix box and only the
unix box. I have a pc connected to the 2nd network card and I want it to
connect to the nameserver that is listening on a well known port on the
first network card. We don't want to turn IP forwarding between the two
cards. We want Forte to address both cards to talk to clients, in one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hmmmm? That is a little odd! Let me rehash what I think you are saying.
You now have two environments each with their own name service with
FORTE_NS_ADDRESS set to a different IP:Port combination. For example you
are doing the steps:
FORTE_NS_ADDRESS=255.255.255.1:5000
start the nodemgr for env 1
FORTE_NS_ADDRESS=255.255.255.2:5000
start the nodemgr for env 2
Now when you start a client you are always getting the address for env 1
back from the nodemgr. I assume you actually mean the name service? Or, do
you mean you are always connecting to the nodemgr & name service for env 1?
If the first scenario is the case and you are connecting to the nodemgr for
env 2 but getting back IP's for services listening on the card for env 1 I
would ask you what you are setting the FORTE_LOCATIONS value to before you
start each service. If you are not setting it or are using the host name it
will register using the IP for the primary network card associated with the
machine name and I am again assuming that this is env 1. You need to set
the FORTE_LOCATIONS variable to 255.255.255.2:0 (based on the steps above)
before starting your services.
If the second scenario is the case I would have you check what the
FORTE_NS_ADDRESS is set to before you start up the client. Once again it
must be the IP:Port combination not host:port combination if you want to get
anything other than the primary card.
I would also suggest that you do the following. After everything is up and
running execute the following commands:
escript -fns "ip for env1":port
findsub nameservice
showpart
What you should see is everything currently registered under the name
service. It will have the name and any "locations" (IP and port) that it is
registered as listening on. I would look for the nodemgr and see where it
has advertised itself. I would then look for any services you expect to be
registered there and also verify where the have advertised themselves. If
there are multiple locations listed for any one service, the client will use
the first one in the list.
Do the same for env 2.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:57 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
I am giving the actual IP address. and not the host name. That is why I
don't understand what is going on.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Monday, June 22, 1998 10:53 AM
To: Venkat Kodumudi; 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Hello Venkat,
I probably should have mentioned this before. Your are correct. Forte is
doing a host lookup if you are providing a name for example machine1:5000.
You can bypass the host lookup by using the actual ip dot address instead
for example 255.255.255.255:5000. This way you are taking the name
service
out od the picture and Forte will use the address provided.
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Monday, June 22, 1998 9:27 AM
To: 'Sean Brown'
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same machine
My requirement is that my second card serves as best case performance
testing piece. This eliminates the network completely. We went one step
ahead and created a new enviromnent for the second card. Whatever I do,
the
nodemgr is returning back the IP address of the first card, even though my
FORTE_NS_ADDRESS does not have the first card in the picture any where.
I think Forte is doing a host look up and returning the first IP address
it
finds, as opposed to returning the IP address specified in the environment
variable FORTE_NS_ADDRESS. Is there a way to trick it?
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Thursday, June 18, 1998 9:54 AM
To: Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
OK, you ran into one of the issues. That is, if both addresses areknown
to
the client that is trying to contact the partition it will always usethe
first address in FORTE_LOCATIONS. This is because FORTE_LOCATIONS was
designed more as a failover mechanism. So it will always try the first
address in the list and if it succeeds, there is no reason to move on to
the
second.
Now, the second issue is that there is currently a problem with theclient
failover to the secondary address in FORTE_LOCATIONS. If the firstentry
fails it is supposed to retry on the second entry. Instead, it retries
the
first entry again. I know that Forte knows about this but I do not havea
bug number on it.
With that said, lets look at a possible solution for you. If the real
objective here is to have a back up network card available for fail over
on
the same machine, or use one card to advertise outside your firewall and
one
to use inside, then you will have to contact Forte to determine when the
failover problem will be fixed. But, if the objective is to loadbalance
across the network cards you could have the environment manager listenon
both ports and then alternate your server partitions across both cards.
For
example:
set FORTE_NS_ADDRESS=card1:5000;card2:5000 and then start up the
environment
manager
set FORTE_LOCATIONS=card1:0 (the 0 in the port causes the OS to pick a
port)
and start partition one
set FORTE_LOCATIONS=card2:0 and start partition two
and so on....
In this scenario the environment manager will be listening on both cards
but
each server will be listening on only one of the two cards. So if a
request
comes in for partition1 it will go through card one and if it is for
partition two it will go through card two. You could assign your
partitions
to cards based on expected load.
Well, I am done. I hope this helps!
Sean
-----Original Message-----
From: Venkat Kodumudi [mailto:[email protected]]
Sent: Thursday, June 18, 1998 8:06 AM
To: 'Sean Brown'; 'John Jamison'
Cc: [email protected]; Jose Suriol
Subject: RE: Is there a way to have 2 network cards on the same machine
Sean,
Thanks for your reply. I tried the approach. I was not very specific in
my
question. I do need the ability for server applications to listen and
server
on both the network cards.
I was succesfully able to make the nodemgr listen on both the cards and
actually serve requests coming in from both the cards. But, followingyour
advise, I took a cautious step with FORTE_LOCATIONS. Here is what I
noticed.
I have an application that has 6 partitions in total. I used
FORTE_LOCATION
to make it listen on 1. Both the cards. 2. Swapped the IP addresses for
both
cards for this application. 3. One card that I want it to listen on. I
tried
all approaches by exporting the locations variable for just this
application. The nodemgr recieves a request from this pc connected onthe
second card to talk to one of the partitions. The node mgr responds witha
proxy - with the ip address and socket number of the first card. The
FORTE_NS_ADDRESS variable looks like this:
IP1:5002;IP2:5002.
Is it possible atall to resolve my problem, without having a seperate
environment?
Thanks
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: Sean Brown [SMTP:[email protected]]
Sent: Wednesday, June 17, 1998 10:42 AM
To: 'John Jamison'; Venkat Kodumudi
Cc: [email protected]
Subject: RE: Is there a way to have 2 network cards on the same
machine
Venkat,
Actually, it is possible for Forte to listen on more than one IP andport
combination. The first reply to your message was correct. If you setthe
FORTE_NS_ADDRESS to contain multiple entries before starting the name
service, it will advertise on both. For Forte servers you use the
FORTE_LOCATIONS env variable to get it to advertise on multiple
ip:port
combinations.
We were doing something very similar with another customer I was at toget
around a firewall. I will warn you that there are some issues with
FORTE_LOCATIONS that may keep that portion from working. However,
from
reading your note, it appears that all you need is for the nameservice
to
advertise and listen on multiple ports and that works fine. I justtested
it again for sanity sake and it worked. I ran my test on NT using
Forte
3G2.
Sean
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of John Jamison
Sent: Tuesday, June 16, 1998 4:51 PM
To: Venkat Kodumudi
Cc: [email protected]
Subject: Re: Is there a way to have 2 network cards on the samemachine
Venkat,
Technically yes this is possible, though not in Forte. A nameserver
can
only listen on one port.
To implement this scheme you will have to write a proxy service (insome
language
including perhaps forte) which listens on the well-known port on the
second card, reads requests, then forwards them to the realnameservice
(wkp on the first card), and forwards replies back. This is not
trivial, but some firewall toolkit vendors supply stub code to write
application specific proxies.
-J
Venkat Kodumudi wrote:
Folks,
Here is what we would like to do:
We want to have 2 network cards on a unix box - which means I have 2
ip
addresses, and the connection between the two is the unix box and
only
the
unix box. I have a pc connected to the 2nd network card and I want
it
to
connect to the nameserver that is listening on a well known port onthe
first network card. We don't want to turn IP forwarding between thetwo
cards. We want Forte to address both cards to talk to clients, in
one
environment.
Can this be done? If so how?
Thanks in advance.
Venkat Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>>
John Jamison [email protected]
Vice President and Chief Technology Officer
Sage IT Partners, Inc.
Voice: 415 392-7243 x 306
Fax: 415 391-3899
Internet Enabled Business Change
<a href=
"http://www.sageit.com">http://www.sageit.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Multiple Network Card Question
I've got a Pc which has both a ethernet card and a wireless dongle used at different times.
In the setup for the 2Wire.com router I get the PC name listed twice ,once for each network card, understanable in a way I suppose as they have different identities on the LAN. But, when I'm making settings for the PC in the setup, I don't know which one I'm making the setting for - the PC name is just listed. How should I be doing this?Don't worry, I've re-posted this in the business forum, as I think that#s where it should be.
-
T520 won't detect Network card in WDS/WinPE/​Ghost image disk
Hello all,
I figured I would just post this so I could save 2 days of someone elses life.
I'm not sure how many other modes have the EFI and UEFI bios's in them but this has caused a lot of problems when trying to capture an image / image the Lenovo T520. So for anyone else that is having these problems here is how I got around the problem.
The Problem:
While trying to boot up off a Capture image with a CD or PXE boot for our WDS server the laptop would not detect the network card giving no IP address and listing the adapter as a hybrid. When trying to do a ipconfig /renew it would give an error around the lines of the loopback something or other ....... the adapter could not be contacted or initated.
I instantly thought this was due to the vanila WinPE / Capture image not having the drivers for the Lenovoo T520, so I went to the website downloaded the new drivers and injected them into the WinPE disk(You will want ot use the NDIS Drivers which are included in the package for this). Following this process it would still not detect or install the NIC. After many hours of searching it would apear this was due to the EFI/UEFI bios options not going through the proper boot cycle when in a PE enviroment. The solution was to mess around with the EFI/UEFI switches in the WinPE boot image during the creation proccess as listed below:
ocdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,bc:\winpe_x64\etfsboot.com#pEF,e,bc:\winpe_x64\efisys.bin c:\winpe_x64\ISO c:\winpe_x64\winpeuefi.iso
The link with more details is here: http://support.microsoft.com/kb/947024
Eseentially once the new boot image was complied with the proper EFI / UEFI options enabled it went through the proper boot process detected the NIC and installed the drivers which I previously provided on the disk and we where off to the races imaging the new laptop.
Hopefull this will help some others who are struggling with this or any other model that has this type of bios.
Cheers, and thanks
Please feel free to post any additional comments to help others if you found better ways to get around this
One side note the EFI/UEFI to legacy mode only does nothing for the NIC problem, I have seen some posts where they can help with the hard drive issues when imaging, however as for the nic not loading in PE enviroments this setting in the BIOS did not reslove the problem.Hi Rusty1234
If I did not remember wrongly, you may present or add drivers (network, hardware) under WDS / Ghost software or copy necessary drivers (e.g. your T520 network card drivers) under it's PXE / boot section.
Happy 2012!
Peter
W520 (4284-A99)
Does someone’s post help you? Give them kudos as a reward, as they will do better to improve | Mark it as solved if the solution works for you, so it could be reference for others in the future
=====================================
Sound Enthusiast and Enhancement (Post comments, share mixes, etc.)
http://forums.lenovo.com/t5/General-Discussion/Dolby-Home-Theater-v4-for-most-Lenovo-Laptops/td-p/62...
Maybe you are looking for
-
Include Image using cid:... then receiving to Junk folder
Hi All, I'm trying to include an image to the mail. Image is correctly included.. but the mail is receiving to Junk folder in OutLook. Whats wrong? Pls help me. My code: MimeBodyPart mbp1 = new MimeBodyPart(); mbp1.setContent(" <HTML><BODY>"
-
How to use repeat_interval in create_job of dbms_scheduler
Hi, Trying to execute a procedure repeatadly using job, but fails to execute. The procedure, I am trying to execute is create procedure p1 as begin insert into tab1 values ('ashish'); commit; end; where tab1 table is defined as create table tab1( a v
-
Hi, This is a requirement in ME52N. If some user opens the ME52N in change mode, then he should be able to change only Purchasing Organization and no other fields. I have got one BADI for this : ME_PROCESS_REQ_CUST and OPEN method. I am not sure how
-
If my ipod is lost how can i find it?, if my ipod is lost how can i find it?
i am afraid it was stolen how can i find out if someone is using it?? i just want to find it to be honest!! thanks for any help and support.~michelle
-
I have a very specific problem with my laptop in terms of speed. A lot of things happen very quickly on it, especially since I started using tools like Onyx etc to maintain it. But my Finder is notably slower than the machine in general. To give you