• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

ifconfig help (mac osx x86)

BullsOnParade

Golden Member
I'm having trouble setting up my network from commandline.

I have ip addy x.x.x.x
gateway x.x.x.1
subnet 255.255.255.0
DNS1
DNS2

how do i set this up correctly,

ive done:
ifconfig en0 inet x.x.x.x broadcast 1.1.1.1 (as well as x.x.x.255) netmask 255.255.255.0

route add default x.x.x.1

and put the dns into /etc/resolv.conf with the nameserver keyword
 
...though your commands look OK to me. You want the x.x.x.255 for broadcast, not 1.1.1.1, but otherwise OK. What do you get from an "ifconfig en0" afterwards? And what is it doesn't work about what you did? No Internet, an error message, ...?
 
Back
Top