arp 를 이용해서 아이피와 맥을 셋팅할 수 있습니다.
[root@localhost ~]# arp -s -i eth0 10.5.5.5 11:11:11:11:11:11
[root@localhost ~]# arp -an
? (10.5.5.5) at 11:11:11:11:11:11 [ether] PERM on eth0
같은 네트워크를 사용하는 다른 서버가 있을 때 게이트웨이 점유가 될경우
위와 같은 방법으로 게이트웨이 아이피와 맥을 static 으로 설정하여 임시방편으로
서비스장애를 회피할 수 있습니다. 그러나 어디까지나 임시이며, 문제가 되는
서버를 찾아내어 맥스푸핑이 되지 않도록 해야 합니다.
[root@www ~]# arp --help
Usage:
arp [-vn] [<HW>] [-i <if>] [-a] [<hostname>] <-Display ARP cache
arp [-v] [-i <if>] -d <hostname> [pub][nopub] <-Delete ARP entry
arp [-vnD] [<HW>] [-i <if>] -f [<filename>] <-Add entry from file
arp [-v] [<HW>] [-i <if>] -s <hostname> <hwaddr> [temp][nopub] <-Add entry
arp [-v] [<HW>] [-i <if>] -s <hostname> <hwaddr> [netmask <nm>] pub <-''-
arp [-v] [<HW>] [-i <if>] -Ds <hostname> <if> [netmask <nm>] pub <-''-
-a display (all) hosts in alternative (BSD) style
-e display (all) hosts in default (Linux) style
-s, --set set a new ARP entry
-d, --delete delete a specified entry
-v, --verbose be verbose
-n, --numeric don't resolve names
-i, --device specify network interface (e.g. eth0)
-D, --use-device read <hwaddr> from given device
-A, -p, --protocol specify protocol family
-f, --file read new entries from file or from /etc/ethers
<HW>=Use '-H <hw>' to specify hardware address type. Default: ether
List of possible hardware types (which support ARP):
strip (Metricom Starmode IP) ash (Ash) ether (Ethernet)
tr (16/4 Mbps Token Ring) tr (16/4 Mbps Token Ring (New)) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) rose (AMPR ROSE) arcnet (ARCnet)
dlci (Frame Relay DLCI) fddi (Fiber Distributed Data Interface) hippi (HIPPI)
irda (IrLAP) x25 (generic X.25)
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 230 | 20년 전 | 2038 | ||
| 229 | 20년 전 | 3131 | ||
| 228 | 20년 전 | 3322 | ||
| 227 | 20년 전 | 2384 | ||
| 226 | 20년 전 | 5460 | ||
| 225 | 20년 전 | 2510 | ||
| 224 | 20년 전 | 2955 | ||
| 223 | 20년 전 | 4197 | ||
| 222 | 20년 전 | 2596 | ||
| 221 | 20년 전 | 2278 | ||
| 220 | 20년 전 | 3667 | ||
| 219 | 20년 전 | 2063 | ||
| 218 | 20년 전 | 3552 | ||
| 217 | 20년 전 | 2470 | ||
| 216 | 20년 전 | 2897 | ||
| 215 | 20년 전 | 2206 | ||
| 214 | 20년 전 | 3326 | ||
| 213 | 20년 전 | 2909 | ||
| 212 | 20년 전 | 3040 | ||
| 211 | 20년 전 | 2140 | ||
| 210 | 20년 전 | 1872 | ||
| 209 | 20년 전 | 2335 | ||
| 208 | 20년 전 | 1964 | ||
| 207 | 20년 전 | 1667 | ||
| 206 | 20년 전 | 1849 | ||
| 205 | 20년 전 | 3940 | ||
| 204 | 20년 전 | 1670 | ||
| 203 | 20년 전 | 2002 | ||
| 202 | 20년 전 | 2344 | ||
| 201 | 20년 전 | 1814 | ||
| 200 | 20년 전 | 2945 | ||
| 199 | 20년 전 | 1998 | ||
| 198 | 20년 전 | 2078 | ||
| 197 | 20년 전 | 3643 | ||
| 196 | 20년 전 | 2966 | ||
| 195 | 20년 전 | 2085 | ||
| 194 | 20년 전 | 10232 | ||
| 193 | 20년 전 | 2236 | ||
| 192 | 20년 전 | 1581 | ||
| 191 | 20년 전 | 2654 | ||
| 190 | 20년 전 | 2282 | ||
| 189 | 20년 전 | 1674 | ||
| 188 | 20년 전 | 1465 | ||
| 187 | 20년 전 | 1896 | ||
| 186 | 20년 전 | 1696 | ||
| 185 | 20년 전 | 1730 | ||
| 184 | 20년 전 | 2329 | ||
| 183 | 20년 전 | 1540 | ||
| 182 | 20년 전 | 1473 | ||
| 181 | 20년 전 | 1613 | ||
| 180 | 20년 전 | 2709 | ||
| 179 | 20년 전 | 1790 | ||
| 178 | 20년 전 | 1843 | ||
| 177 | 20년 전 | 1968 | ||
| 176 | 20년 전 | 1794 | ||
| 175 | 20년 전 | 1865 | ||
| 174 | 20년 전 | 1688 | ||
| 173 | 20년 전 | 2054 | ||
| 172 | 20년 전 | 1778 | ||
| 171 | 20년 전 | 2551 | ||
| 170 | 20년 전 | 2259 | ||
| 169 | 20년 전 | 2537 | ||
| 168 | 20년 전 | 1465 | ||
| 167 | 20년 전 | 1565 | ||
| 166 | 20년 전 | 2141 | ||
| 165 | 20년 전 | 1607 | ||
| 164 | 20년 전 | 3750 | ||
| 163 | 20년 전 | 2645 | ||
| 162 | 20년 전 | 2065 | ||
| 161 | 20년 전 | 2771 | ||
| 160 | 20년 전 | 1720 | ||
| 159 | 20년 전 | 1594 | ||
| 158 | 20년 전 | 2544 | ||
| 157 | 20년 전 | 1472 | ||
| 156 | 20년 전 | 1715 | ||
| 155 | 20년 전 | 3223 | ||
| 154 | 20년 전 | 1877 | ||
| 153 | 20년 전 | 1609 | ||
| 152 | 20년 전 | 4936 | ||
| 151 | 20년 전 | 4560 | ||
| 150 | 20년 전 | 3501 | ||
| 149 | 20년 전 | 3770 | ||
| 148 | 20년 전 | 7052 | ||
| 147 | 20년 전 | 3535 | ||
| 146 | 20년 전 | 2603 | ||
| 145 | 20년 전 | 2599 | ||
| 144 | 20년 전 | 7161 | ||
| 143 | 20년 전 | 4583 | ||
| 142 | 20년 전 | 1889 | ||
| 141 | 20년 전 | 3247 | ||
| 140 | 20년 전 | 1948 | ||
| 139 | 20년 전 | 1541 | ||
| 138 | 20년 전 | 2289 | ||
| 137 | 20년 전 | 1769 | ||
| 136 | 20년 전 | 1446 | ||
| 135 | 20년 전 | 1781 | ||
| 134 | 20년 전 | 2959 | ||
| 133 | 20년 전 | 2431 | ||
| 132 | 20년 전 | 1703 | ||
| 131 | 20년 전 | 1630 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기