![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find out the ipaddress? | DineshV | UNIX for Dummies Questions & Answers | 3 | 05-06-2008 01:20 AM |
| ipaddress in HP-UX | RockyC123 | Shell Programming and Scripting | 7 | 03-25-2008 04:27 AM |
| how to find ipaddress | shruti_mgp | HP-UX | 14 | 05-04-2006 03:58 AM |
| How to set the MSS programatically. | zampya | High Level Programming | 0 | 06-24-2004 09:39 AM |
| change the IPAddress and local name | lapnguyen | UNIX for Dummies Questions & Answers | 2 | 07-10-2002 10:49 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Add IpAddress Through Programatically
Hi all,
Can u give me some suggestions how to add Ip Address through Programmatically , Actually I done it in Windows But now I want same thing in Unix................................ Can Any body Help to me....... |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
We get same problem, if you got an idea, please let me know:
Last edited by pcman; 07-14-2006 at 12:20 AM. |
|
#3
|
||||
|
||||
|
Hello pcman, please remove your email id from the post. That is against the rules.
You can communicate that to ykmraju via a private message. |
|
#4
|
|||
|
|||
|
Sorry for that.
|
|
#5
|
|||
|
|||
|
can you give me an example what are you trying to archive ?
|
|
#6
|
|||
|
|||
|
Such like:
ip addr add 192.168.0.100 dev eth0 ip addr add 192.168.0.101 dev eth0 ... ... ip addr add 192.168.0.200 dev eth0 |
|
#7
|
|||
|
|||
|
How about:
Code:
#include <stdlib.h>
...
system("ip addr add 192.168.0.100 dev eth0");
Otherwise, you can study the code of the 'ip' program you are using. |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|