Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 567883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:07:51+00:00 2026-05-13T13:07:51+00:00

I’ve got ethernet interface on FreeBSD 7.1 with 3 ip adresses binded to it.

  • 0

I’ve got ethernet interface on FreeBSD 7.1 with 3 ip adresses binded to it.

# ifconfig

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:e0:81:b1:1b:4b
inet 89.xx.xx.1 netmask 0xfffffc00 broadcast 89.xx.xx.255
inet 89.xx.xx.2 netmask 0xffffffff broadcast 89.xx.xx.2
inet 89.xx.xx.3 netmask 0xffffffff broadcast 89.xx.xx.3
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active

How to launch php script binded to different ip adresses? I need this script to access one service from different ip addresses.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:07:51+00:00Added an answer on May 13, 2026 at 1:07 pm

    If you want to set up a service at a specified IP-address, just fill in that address as the second parameter of the socket_bind function. If the IP address is varying depending on the situation, you can use a command line parameter to specify this address

    If you want the script to use a specified IP address when connecting to a remote service, that is not easy. Since the internet stack on your computer determines which IP address will be used, depending on which network the destination is. And in your case all IP addresses are on the same network.
    I think that you you should think in this situation whether it is really required to use a particular address…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a WinCE device powered over ethernet (PoE) and I want to prevent
Got a project with standard Asp.Net (aspx) pages running alongside MVC 3 Razor controllers/views.
I recently got my laptop with Apache setup on my university's Ethernet connection. Now
Got some code that is not mine and its producing this warning atm: iehtmlwin.cpp(264)
Got a requirement to rebuild mssql full-text index. Problem is - I need to
Got a crash report from a beta tester and I'm having trouble identifying the
got a PictureBox (called i_MC) and i draw a simple image (m_ImgMCN) on it
GOT error for the following query in MYSQL(version5.1) SELECT year,month,sum(fact_1),sum(fact_2),sum(fact_3),sum(fact_4) from( select year,month,fact_1,fact_2,0 as
Got a strange problem created a little stored proc which need to execute a
Got a math calculation problem. $a = 34.56 $b = 34.55 $a do some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.