Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to put a wired device (Blue-ray player), on my home wireless network's subnet, via the mac's wifi connection, as there is no wired connections upstairs.

To be more clear, what I'd like is:

BlueRay ---(ethernet)---> Mac ---(wifi)---> Home Router [192.168.1.1]
[192.168.1.3]        [192.168.1.4]                         |
                                                      (ethernet)
                                                           |
                                                           v
                                         Media Server PC [192.168.1.5]

Basically I want to bridge ethernet over to the wifi network. And 'Internet Sharing' won't do as it creates a second subnet [192.168.2.x]

Can this be done ?

share|improve this question

2 Answers 2

You just need to enable IP forwarding on your Mac. Which can be done via the following command (you might need to restart your mac/networking interface for changes to take effect):

sysctl -w net.inet.ip.forwarding=1

More info: How do I enable IP-forwarding in MacOS X?

share|improve this answer

As of Mountain Lion, it might work to configure a bridge using ifconfig:

sudo ifconfig bridge0 create
sudo ifconfig bridge0 addm en0 addm en1
sudo ifconfig bridge0 up

See man ifconfig for more options.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.