Link to home
Start Free TrialLog in
Avatar of sam15
sam15

asked on

ip_Address_Host_assignmennt

1) How do ip addresses get assigned to a host machine (linux and windows)?

2) If i have a linux machine with 1 apache web servers and another oracle http web server running on it, can i have one ip address assigned for web server 1 and another ip address for 2nd web server? How do you configure this.

3) if i log into a mahine, what command you run to see the ip addresss assigned?
ASKER CERTIFIED SOLUTION
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sam15
sam15

ASKER

Do you know why ifconfig does not work

$ cat /etc/*-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
$ ifconfig
-bash: ifconfig: command not found

Does binding an ip address to each web server involve a hardware change or a software change?
Does system admin do that or i can provide the ip when i install the web server software?
Do you know why ifconfig does not work

$ cat /etc/*-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
$ ifconfig
-bash: ifconfig: command not found

There are two particularly probable reasons why this command failed. First, either the command was not found because it was not in the execution path. Try "/sbin/ifconfig" instead of just "ifconfig".

If that command also fails, then the package is probably not installed. Try "yum install net_tools", then "ifconfig".

Does binding an ip address to each web server involve a hardware change or a software change?
Software/configuration. Not hardware. (though you could add a new physical network connection instead of using sub interfaces).

Does system admin do that or i can provide the ip when i install the web server software?


You'd have to do that after you install the web server software by editing /etc/httpd/conf/httpd.conf and putting a "listen 10.10.10.10:80" statement in that file.

For Oracle web services, you'd have to use the BindAddress directive or the Listen directive: http://docs.oracle.com/cd/B14099_19/web.1012/q20201/mod/core.html#bindaddress

http://docs.oracle.com/cd/B14099_19/web.1012/q20201/mod/core.html#listen