Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 6.6 configuring two network interfaces: (2 Items)
   
QNX 6.6 configuring two network interfaces  
I am trying to configure two network interfaces on a 6.6 system.  Both are identical Intel devices.  Ideally I would 
like to use DHCP on the first interface and a Static IP on the second but I can get away Static IPs on both if need be.

If someone could post a 'bare minimum' network_start script as a starting point it would be most helpful.

I've got as far as getting both interfaces working but if I use the following:

ifconfig wm1 192.168.1.20

it seems to ignore the static IP and grab one from dhcp instead.

Thanks in advance

Alan
Re: QNX 6.6 configuring two network interfaces  
First of all, you must make sure that each interface is on a separate
network. If you want the dhcp.client on the first interface then run
dhcp.client -iwm0
You can then ³ifconfig wm1 192.168.1.20²

Second, if you want to run dhcp.client on both interfaces, you can use the
³-iwmn² on each interface, where ¹n¹ in the interface number.



On 2017-06-29, 4:53 AM, "Alan Bontoft" <community-noreply@qnx.com> wrote:

>I am trying to configure two network interfaces on a 6.6 system.  Both
>are identical Intel devices.  Ideally I would like to use DHCP on the
>first interface and a Static IP on the second but I can get away Static
>IPs on both if need be.
>
>If someone could post a 'bare minimum' network_start script as a starting
>point it would be most helpful.
>
>I've got as far as getting both interfaces working but if I use the
>following:
>
>ifconfig wm1 192.168.1.20
>
>it seems to ignore the static IP and grab one from dhcp instead.
>
>Thanks in advance
>
>Alan
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post117833
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com